Skip to content

M-functions and scripts

Built-in functions › Programming and data types › M-functions and scripts

5 functions in this category.

FunctionWhat it does
mfilenameName of the currently executing script or function.
nargchkValidate the number of input arguments.
narginNumber of input arguments passed to the current function.
nargoutNumber of output arguments requested by the caller.
nargoutchkValidate the number of output arguments.