FUNCTION REFERENCE

nargoutchk

Check the number of requested function outputs.

Check the number of requested function outputs.

Syntax

nargoutchk(minimum, maximum)

Syntax

message = nargoutchk(minimum, maximum, count [, 'string'|'struct'])

Example

nargoutchk(1,2,3)   % Too many output arguments.

Differences from MATLAB: none known for these forms.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.