Value Argument Description
"folder" Must be a string or character vector that is the name of an
existing folder relative to the current working folder.
"matlabpathfile=
*.ext,..."
Must be a string or character vector that names an existing file on
the MATLAB path. This value requires at least one file extension.
For example, to allow all .mat files on the path, use
"matlabpathfile=*.mat".
"size=size1,size
2,...,sizeN"
Must match size constraints. This value requires two or more
dimensions. Each size dimension must be either a positive integer
that indicates the allowable size of the dimension, or a colon to
allow any size. For example, "size=2,:,2" constrains the
argument to have a size of 2 in the 1st and 3rd dimensions.
"numel=integerVa
lue"
Must have a specified number of elements.
"nrows=integerVa
lue"
Must have a specified number of rows.
"ncols=integerVa
lue"
Must have a specified number of columns.
"numeric" Must be numeric. A numeric value is one for which the isa
function with the 'numeric' class category returns true.
"logical" Must be numeric or logical.
"real" Must be a real-valued numeric or a character or logical value.
"scalar" Must be scalar.
"integer" Must be an integer of type double.
"square" Must be a square matrix.
"vector" Must be a column or row vector.
"column" Must be a column vector.
"row" Must be a row vector.
"2d" Must be 2-dimensional.
"3d" Must have no more than three dimensions.
"sparse" Must be sparse.
"positive" Must be greater than zero.
30 Custom Help and Documentation