module_arguments
(
required
,
optional
,
varargin
,
withdefault
=
"withdefault"
,
nodefault
)
Docstring for module_arguments.
[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 |