Main Content
parenDelete
Class: matlab.mixin.indexing.RedefinesParen
Namespace: matlab.mixin.indexing
Syntax
updatedObj = parenDelete(obj,indexOp)
Description
handles index deletion operations that begin with parentheses, such as updatedObj
= parenDelete(obj
,indexOp
)obj(idx) =
[]
. The indexOp
object contains the indices being referenced. The
method returns the updated object.
Input Arguments
Output Arguments
Examples
For a fully annotated example of a mapping class that implements custom parentheses indexing, see Customize Parentheses Indexing for Mapping Class.
Version History
Introduced in R2021b