Simulink Control Design™ - MathWorks

(Tuis.) #1

getBlockValue


Get current value of tuned block parameterization in slTuner interface


getBlockValue lets you access the current value of the parameterization of a tuned
block on page 15-408 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 on page 15-408 for commands
such as systune.


Syntax


value = getBlockValue(st,blk)
[val1,val2,...] = getBlockValue(st,blk1,blk2,...)


S = getBlockValue(st)


Description


value = getBlockValue(st,blk) returns the current value of the parameterization
of a tunable block, blk, in an slTuner interface.


[val1,val2,...] = getBlockValue(st,blk1,blk2,...) returns the current
values of the parameterizations of one or more tuned blocks of st.


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


Examples


Get Current Value of Tuned Block Parameterization


Create an slTuner interface for the scdcascade model.


getBlockValue
Free download pdf