addBlock(ST,blockID) adds the block referenced by blockID to the TunedBlocks property of the slTunable interface ST. The TunedBlocks property lists the tunable blocks in the control system described by ST.
slTunable interface describing the control system to be tuned.
String or cell array of strings identifying one or more blocks to add to the TunedBlocks property of ST. You can specify blocks with an abbreviated block name provided that the string matches the end of the full block path and unambiguously identifies the block to add.
Create an slTunable interface for the Simulink® model rct_cascade and add a block to the list of tuned blocks in the interface.
open_system('rct_cascade') ST0 = slTunable('rct_cascade','C1'); addBlock(ST0,'C2');