Return an appropriate error message string (or structure) if the number of outputs requested is invalid. This is useful for checking to see that the number of arguments supplied to a function is within an acceptable range. See also: nargchk error nargout nargin
Return an appropriate error message string (or structure) if the number of outputs requested is invalid.
This is useful for checking to see that the number of arguments supplied to a function is within an acceptable range.