addOptional | Adds an optional positional argument to an inputParser. |
addParameter | Adds a name-value argument to an inputParser. |
addParamValue | Older name of addParameter for adding a name-value argument. |
addRequired | Adds a required positional argument to an inputParser. |
inputname | Returns the name of the variable passed as a given argument of the current function. |
inputParser | Parses and validates the arguments of a function. |
mfilename | Returns the name of the file that is running. |
mustBeA | Checks that a value belongs to one of the given classes. |
mustBeFile | Checks that text names existing files. |
mustBeFinite | Checks that no element is Inf, -Inf or NaN. |
mustBeFloat | Checks that a value is of class double or single. |
mustBeFolder | Checks that text names existing folders. |
mustBeGreaterThan | Checks that every element is strictly greater than a bound. |
mustBeGreaterThanOrEqual | Checks that every element is greater than or equal to a bound. |
mustBeInRange | Checks that every element lies between two bounds. |
mustBeInteger | Checks that every element is a whole number. |
mustBeLessThan | Checks that every element is strictly less than a bound. |
mustBeLessThanOrEqual | Checks that every element is less than or equal to a bound. |
mustBeMember | Checks that a value is one of the elements of a set. |
mustBeNegative | Checks that every element is less than zero. |
mustBeNonempty | Checks that an array has at least one element. |
mustBeNonmissing | Checks that the input has no missing values. |
mustBeNonNan | Checks that no element is NaN. |
mustBeNonnegative | Checks that every element is zero or greater. |
mustBeNonpositive | Checks that every element is zero or less. |
mustBeNonsparse | Checks that an array is stored in full, not sparse, form. |
mustBeNonzero | Checks that no element is zero. |
mustBeNonzeroLengthText | Checks that text is non-empty. |
mustBeNumeric | Checks that a value is a numeric array. |
mustBeNumericOrLogical | Checks that a value is numeric or logical. |
mustBePositive | Checks that every element is greater than zero. |
mustBeReal | Checks that a value has no imaginary part. |
mustBeScalarOrEmpty | Checks that a value is a single element or has none. |
mustBeSparse | Checks that an array is sparse. |
mustBeText | Checks that a value is text: characters, a string array or a cell array of character vectors. |
mustBeTextScalar | Checks that a value is a single piece of text. |
mustBeUnderlyingType | Checks that an array has the given underlying class. |
mustBeValidVariableName | Checks that text is a valid MATLAB variable name. |
mustBeVector | Checks that a value is a vector. |
namedargs2cell | Converts a scalar structure into a cell array of name-value pairs. |
nargchk | Old-style check of the number of input arguments; superseded by narginchk. |
narginchk | Checks that a function was called with an acceptable number of input arguments. |
nargoutchk | Checks that a function was called with an acceptable number of output arguments. |
parse | Method of inputParser that matches a call's arguments against the declared parameters. |
validatecolor | Validates a color specification and returns it as an RGB triplet. |
validatestring | Matches text against a list of valid strings, allowing abbreviations. |