Simulink Control Design™ - MathWorks

(Tuis.) #1

  • 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.


See Also


getBlockParam | getTunedValue | setBlockValue | slTuner


Topics
“How Tuned Simulink Blocks Are Parameterized” (Control System Toolbox)


Introduced in R2011b


getBlockValue
Free download pdf