FUNCTION REFERENCE
narginchk
Check the number of input arguments.
Check the number of input arguments.
Syntax
narginchk(minArgs, maxArgs)Inside a function, stops with "Not enough input arguments." or "Too many
input arguments." when nargin is outside [minArgs, maxArgs].
Example
narginchk(1, 2)Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.