module_arguments ( required , optional , varargin , withdefault = "withdefault" , nodefault )

Docstring for module_arguments.

Examples

[outa, outb] = module_arguments(1, 2, "withdefault", "foo", "nodefault", 'bar');

Name-value arguments:

Name Type Description Default
withdefault string

name value pair with default value

"withdefault"
nodefault char

name value pair without default value

Output arguments:

Name Type Description
outa double

Output parameter

outb double

Another output parameter