slexpr
Generate expression to use in value of parameter object
Description
converts the MATLAB-syntax expression expressionOut
= slexpr(expressionIn
)expressionIn
to an
object, expressionOut
, that you can use to set the
Value
property of a parameter object (such as
Simulink.Parameter
). When you use multiple parameter objects to
set block parameter values, you can use the expression to model mathematical
relationships between the objects. For more information, see Set Variable Value by Using a Mathematical Expression.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018a