Type of customized indexing operation and referenced indices
For classes that implement customized indexing operations, MATLAB® constructs instances of
describe the type of a given indexing operation and the indices referenced by that operation.
IndexingOperation instances appear as arguments for methods of these
For information on class attributes, see Class Attributes.
MATLAB creates instances of
IndexingOperation as needed. The property
values are set at creation.
Type — Type of indexing operation
matlab.indexing.IndexingOperationType enumeration member
Type of indexing operation, identified as an
Indices — List of indices referenced in indexing operation
List of indices referenced in indexing operation, specified as a cell array. When
Type property is
Dot, accessing this
property results in an error.
Name — Name of field referenced in dot indexing operation
Name of the field referenced in a dot indexing operation, specified as a cell array.
Type property has any value except for
Dot, accessing this property results in an error.
Sample Property Values
This table shows examples of customized indexing calls and the type of
IndexingOperation instances that MATLAB creates. Expressions with more than one indexing operation generate arrays of