| Real-Time Workshop | ![]() |
Tunability of Linear Block Parameters
The following blocks have a Realization parameter that affects the tunability of their parameters:
The Realization parameter must be set via the MATLAB set_param command, as in the following example.
The following values are defined for the Realization parameter:
general: The block's parameters are preserved in the generated code, permitting parameters to be tuned.
sparse: The block's parameters are represented in the code by transformed values that increase the computational efficiency. Because of the transformation, the block's parameters are no longer tunable.
auto: This setting is the default. A general realization is used if one or more of the block's parameters are tunable. Otherwise sparse, is used.
Note
To tune the parameter values of a block of one of the above types without restriction during an external mode simulation, you must use set Realization to general.
|
| Tunable Expressions | Parameter Configuration Quick Reference Diagram | ![]() |