Use the command mphevaluate to evaluate the expression defined in the
Parameters node as in the command below:
To evaluate multiple expressions at once, define <expr> as a cell array of expressions as in the command below:
The output str is an array of structs with the same size as for the cell array of expressions. For multiple parameters evaluation only a single output is permitted. The struct contains the following fields:
name, the parameter name;
value, its value in the unit specified in the field
unit;
def, the string for the definition of the parameter; and
descr, the string description of the parameter.
The output str is an array of structs with the same size as for the parameters table.
where value,
unit,
def, and
descr are the parameter value, the parameter unit, the parameter definition and the parameter description, respectively.
where <unit> is the unit to evaluate the expression
<expr> in.