This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Input and Output Arguments

Support variable length argument lists, check arguments


nargin Number of function input arguments
nargout Number of function output arguments
varargin Variable-length input argument list
varargout Variable-length output argument list
narginchk Validate number of input arguments
nargoutchk Validate number of output arguments
validateattributes Check validity of array
validatestring Check validity of text
inputParser Parse function inputs
inputname Variable name of function input

Was this topic helpful?