MATLAB Function Reference | Search  Help Desk |
checkargs | See Also |
Check the arguments against specific prototype
Syntax
checkargs(args,n,type1,type2,type3,...)
Description
checkargs(args,n,type1,type2,type3,...)
checks the that arguments list inside the cell array list
is compatible with the description given by n
, type1
, type2
, type3
.
If type... is equal to any, the type is not checked. n
is a vector containing the minimum
and the maximum number of arguments.
error