MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Value Argument Description
">expression" Must be numeric and satisfy the inequality. expression must
">=expression" return a full scalar double.
"<expression"
"<=expression"
@(args)
expression

Must satisfy the function handle. For a value to satisfy the
function handle, the handle must evaluate to true.

repeating – Specify argument multiple times


Indicator that an argument can be specified multiple times, specified as a JSON true or
false (without quotes). The default is false. If specified as true, the argument or set of
arguments (tuple) can be specified multiple times. A required repeating argument must
appear one or more times, and an optional repeating argument can appear zero or more
times.


Example: "repeating":true


purpose – Description of argument


Description of argument, specified as a JSON string. Use this property to communicate
the purpose of the argument.


Example: "purpose":"Product ID"


For more complicated function signatures, the following properties are available for each
argument object.


platforms – List of supported platforms


List of platforms that support the argument, specified as a JSON string. The default is all
platforms. Elements of the list must match an archstr returned from the computer
function. The list can be inclusive or exclusive, but not both.


Example: "platforms":"win64,maci64" or "platforms":"-maci64"


tuple – Definition of set of arguments


Definition of a set of arguments that must always appear together, specified as a list of
argument objects. This property is only used to define sets of multiple repeating


Customize Code Suggestions and Completions
Free download pdf