Simulink Control Design™ - MathWorks

(Tuis.) #1

Property Description


States State operating point specifications, returned as a vector of state
specification objects. Each entry in States represents the supported states
of one Simulink block.


For a list of supported states for operating point objects, see “Simulink
Model States Included in Operating Point Object” on page 1-4. Edit the
properties of this object using dot notation or the set function.

NoteIf the block has multiple named continuous states, States contains
one structure for each named state.

Each state specification object has the following fields:

Field Description
Nx (read-
only)

Number of states in the block

Block Block path, returned as a character vector.
StateName State name
x Values of all supported block states, specified as a vector of
length Nx.

If the corresponding flag in Known field of States is 1 , x
contains the known state values. Otherwise, x contains initial
guesses for the state values.
Ts (Only for discrete-time states) Sample time and offset of each
supported block state, returned as a vector.
SampleTyp
e

State time rate, returned as one of the following:


  • 'CSTATE' — Continuous-time state

  • 'DSTATE' — Discrete-time state
    inReferen
    cedModel


Flag indicating whether the block is inside a reference model,
returned as one of the following:


  • 1 — Block is inside a reference model.


operspec
Free download pdf