input specification. For an example, see “Get Index of Specified Input Element of
Operating Point Specification” on page 15-129.
Output Arguments
index — Input index
2-element row vector | 2-column array
Input 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 input element.
The first column of index contains the index of the corresponding input specification in
the Inputs property of op. The second column contains the element index within the
input specification.
Using index, you can specify the input portion of a custom mapping for customized
trimming of Simulink models. For more information, see the CustomMappingFcn
property of operspec.
See Also
findop | getOutputIndex | getStateIndex | operspec
Topics
“Compute Operating Points Using Custom Constraints and Objective Functions” on page
1-78
Introduced in R2017a
15 Alphabetical List