Simulink Control Design™ - MathWorks

(Tuis.) #1

Output Arguments


index — State index
2-element row vector | 2-column array


State index, returned as a 2-element row vector when element is an integer, or a 2-
column array when element is a vector. Each row of index contains the index for a
single model state.


The first column of index contains the index of the corresponding state specification in
the States property of op. The second column contains the element index within the
state specification.


Using index, you can specify the state portion of a custom mapping for customized
trimming of Simulink models. For more information, see the CustomMappingFcn
property of operspec.


See Also


findop | getInputIndex | getOutputIndex | operspec


Topics
“Compute Operating Points Using Custom Constraints and Objective Functions” on page
1-78


Introduced in R2017a


getStateIndex
Free download pdf