matlab.mixin.indexing.RedefinesParen Class
Namespace: matlab.mixin.indexing
Description
The matlab.mixin.indexing.RedefinesParen
class is an abstract superclass
that enables you to customize how indexing operations with parentheses behave.
RedefinesBrace
and RedefinesDot
enable you to customize
indexing operations with curly braces and dots. You can inherit from these classes
individually, customizing one aspect of behavior without affecting the default behavior of the
other indexing operations.
To customize how your class handles indexing operations with parentheses, inherit from
RedefinesParen
and implement its abstract methods:
cat
empty
size
parenAssign
parenDelete
parenListLength
parenReference
Class Attributes
Abstract | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Methods
Examples
Limitations
Inheriting from both matlab.mixin.indexing.RedefinesParen
and
matlab.mixin.Heteroegenous
is not supported.
Version History
Introduced in R2021b