S =
struct with fields:
C2: [1x1 pid]
Ki: 1
Kp: 1
The tuned values are returned in a structure that contains fields for:
- The tuned block, C2, which is parameterized as a Control Design Block.
- The tunable elements, Kp and Ki, within block C2, which is parameterized as a custom
genss model.
Input Arguments
st — Interface for tuning control systems modeled in Simulink
slTuner interface
Interface for tuning control systems modeled in Simulink, specified as an slTuner
interface.
var — Tuned variable
character vector | string
Tuned variable within st, specified as a character vector or string. A tuned variable is any
Control Design Block, such realp, tunableSS, or tunableGain, involved in the
parameterization of a tuned Simulink block, either directly or through a generalized
parametric model. To get a list of all tuned variables within st, use
getTunedValue(st).
var can refer to the following:
- For a block parameterized by a Control Design Block, the name of the block. For
example, if the parameterization of the block is
C = tunableSS('C')
then set var = 'C'.
15 Alphabetical List