dotReference
Class: matlab.mixin.indexing.RedefinesDot
Namespace: matlab.mixin.indexing
Customize handling of object index references that begin with dots
Syntax
varargout = dotReference(obj,indexOp)
Description
handles index referencing operations that begin with dots and index into fields that are
inaccessible or nonexistent, such as varargout = dotReference(obj,indexOp)obj.PrivateProp or
obj.NotAProp{1}(2). 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 scalar struct class that implements custom dot indexing, see matlab.mixin.indexing.RedefinesDot.
Version History
Introduced in R2012b