Simulink Control Design™ - MathWorks

(Tuis.) #1

getBlockParam


Get parameterization of tuned block in slTuner interface


getBlockParam lets you retrieve the current parameterization of a tuned block on page
15-395 in an slTuner interface.


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“Tuned Variables” on page 15-
396 for commands such as systune.


Syntax


blk_param = getBlockParam(st,blk)
[blk_param1,...,blk_paramN] = getBlockParam(st,blk1,...,blkN)


S = getBlockParam(st)


Description


blk_param = getBlockParam(st,blk) returns the parameterization used to tune the
Simulink block, blk.


[blk_param1,...,blk_paramN] = getBlockParam(st,blk1,...,blkN) returns
the parameterizations of one or more specified blocks.


S = getBlockParam(st) returns a structure containing the parameterizations of all
the tuned blocks of st.


Examples


Get Parameterization of Tuned Block


Create an slTuner interface for the scdcascade model.


getBlockParam
Free download pdf