Main Content
braceReference
Class: matlab.mixin.indexing.RedefinesBrace
Namespace: matlab.mixin.indexing
Syntax
varargout = braceReference(obj,indexOp)
Description
handles index referencing operations that begin with braces, such as
varargout
= braceReference(obj
,indexOp
)obj{idx}
or obj{idx}.(1)
. The method returns the
indexed values from obj
. The indexOp
object contains the
indices being referenced.
Input Arguments
Output Arguments
Examples
For an example of a class that implements custom brace indexing, see matlab.mixin.indexing.RedefinesBrace
.
Version History
Introduced in R2021b