Simulink Control Design™ - MathWorks

(Tuis.) #1

setBlockParam


Set parameterization of tuned block in slTuner interface

setBlockParam lets you override the default parameterization for a tuned block on page
15-448 in an slTuner interface. You can also specify the parameterization for non-atomic
components such as Subsystem or S-Function blocks.

An slTuner interface parameterizes each tuned Simulink block as a Control Design
Block (Control System Toolbox), or a generalized parametric model of type genmat or
genss. This parameterization specifies the tuned variables on page 15-449 for commands
such as systune.

Syntax


setBlockParam(st,blk,tunable_mdl)
setBlockParam(st,blk1,tunable_mdl1,blk2,tunable_mdl2,...,blkN,
tunable_mdlN)

setBlockParam(st,blk)
setBlockParam(st)

Description


setBlockParam(st,blk,tunable_mdl) assigns a tunable model as the
parameterization of the specified block of an slTuner interface.

setBlockParam(st,blk1,tunable_mdl1,blk2,tunable_mdl2,...,blkN,
tunable_mdlN) assigns parameterizations to multiple blocks at once.

setBlockParam(st,blk) reverts to the default parameterization for the block
referenced by blk and initializes the block with the current block value in Simulink.

setBlockParam(st) reverts all the tuned blocks of st to their default
parameterizations.

15 Alphabetical List

Free download pdf