Simulink Control Design™ - MathWorks

(Tuis.) #1

setBlockValue


Set value of tuned block parameterization in slTuner interface

setBlockValue lets you initialize or modify the current value of the parameterization of
a tuned block on page 15-461 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-461 for commands
such as systune.

Syntax


setBlockValue(st,blk,value)

setBlockValue(st,blkValues)

Description


setBlockValue(st,blk,value) sets the current value of the parameterization of a
block in the slTuner interface, st.

setBlockValue(st,blkValues) updates the values of the parameterizations of
multiple blocks using the structure, blkValues.

Examples


Set Value of Tuned Block Parameterization

Create an slTuner interface for the scdcascade model, and set the value of the
parametrization of one of the tuned blocks.

Create an slTuner interface.

15 Alphabetical List

Free download pdf