narginchk
Checks the number of input arguments.
Syntax
narginchk(minArgs, maxArgs)
Input argument
minArgs - minimum number of accepted inputs (scalar integer value).
maxArgs - maximum number of accepted inputs (scalar integer value).
Description
narginchk checks the number of input arguments of an function.
Example
With an macro function:
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated