Main Content
slreportgen.utils.getResolvedParamValue
Evaluate parameter value expression
Description
returns the value of a block parameter. The value of the parameter is an evaluated
MATLAB® expression that includes references to workspace variables. This utility
produces an param_value
= slreportgen.utils.getResolvedParamValue(block
,parameter
)slreportgen:UnresolvableExpression
error if it cannot find
expression variables in the MATLAB or model workspace.
Examples
Obtain Parameter Value
openExample('f14') numval = slreportgen.utils.getResolvedParamValue... ('f14/Actuator Model','Numerator')
numval = 1
Input Arguments
Output Arguments
Version History
Introduced in R2018b