Simulink Control Design™ - MathWorks

(Tuis.) #1

setTunedValue


Set current value of tuned variable in slTuner interface


setTunedValue lets you initialize or modify the current value of a tuned variable on
page 15-469 within an slTuner interface.


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


Syntax


setTunedValue(st,var,value)
setTunedValue(st,varValues)
setTunedValue(st,model)


Description


setTunedValue(st,var,value) sets the current value of the tuned variable, var, in
the slTuner interface, st.


setTunedValue(st,varValues) sets the values of multiple tuned variables in st using
the structure, varValues.


setTunedValue(st,model) updates the values of the tuned variables in st to match
their values in the generalized model model. To propagate tuned values from one model
to another, use this syntax.


Examples


Set Value of Single Tunable Element within Custom Parameterization


Create an slTuner interface for the scdcascade model.


setTunedValue
Free download pdf