<< nargin | Core | nargout >> |
narginchk(minArgs, maxArgs) |
minimum number of accepted inputs (scalar integer value).
maximum number of accepted inputs (scalar integer value).
narginchk checks the number of input arguments of an function.
With an macro function:
narginchk(1, 2)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET