Within an slTuner
interface, tuned
variables are any Control Design Blocks involved
in the parameterization of a tuned Simulink block, either directly
or through a generalized parametric model. Tuned variables are the
parameters manipulated by tuning commands such as systune
.
For Simulink blocks parameterized by a generalized model
or a tunable surface:
getBlockValue
provides
access to the overall value of the block parameterization. To access
the values of the tuned variables within the block parameterization,
use getTunedValue
.
setBlockValue
cannot
be used to modify the block value. To modify the values of tuned variables
within the block parameterization, use setTunedValue
.
For Simulink blocks parameterized by a Control Design Block,
the block itself is the tuned variable. To modify the block value,
you can use either setBlockValue
or setTunedValue
.
Similarly, you can retrieve the block value using either getBlockValue
or getTunedValue
.