Simulink Control Design™ - MathWorks

(Tuis.) #1

You can modify the list of tuned blocks using addBlock and removeBlock.


To interact with the tuned blocks use:



  • getBlockParam, getBlockValue, and getTunedValue to access the tuned block
    parameterizations and their current values.

  • setBlockParam, setBlockValue, and setTunedValue to modify the tuned block
    parameterizations and their values.

  • writeBlockValue to update the blocks in a Simulink model with the current values
    of the tuned block parameterizations.


Tips



  • For Model Discretizer blocks, the rate conversion method is specified in the Simulink
    block and cannot be modified with setBlockRateConversion.

  • For static blocks such as Gain or Lookup Table blocks, the block rate conversion
    method is ignored.


See Also


getBlockRateConversion | slTuner | writeBlockValue


Topics
“Tuning of a Digital Motion Control System” (Control System Toolbox)
“Continuous-Discrete Conversion Methods” (Control System Toolbox)


Introduced in R2014a


setBlockRateConversion
Free download pdf