Simulink Control Design™ - MathWorks

(Tuis.) #1

getTunedValue


Get current value of tuned variable in slTuner interface

getTunedValue lets you access the current value of a tuned variable on page 15-416
within an slTuner interface.

An slTuner interface parameterizes each tuned block on page 15-416 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


value = getTunedValue(st,var)
[value1,value2,...] = getTunedValue(st,var1,var2,...)

S = getTunedValue(st)

Description


value = getTunedValue(st,var) returns the current value of the tuned variable,
var, in the slTuner interface, st.

[value1,value2,...] = getTunedValue(st,var1,var2,...) returns the current
values of multiple tuned variables.

S = getTunedValue(st) returns a structure containing the current values of all tuned
variables in st.

Examples


Query Value of Single Tunable Element within Custom Parameterization

Create an slTuner interface for the scdcascade model.

15 Alphabetical List

Free download pdf