dotListLength
Class: matlab.mixin.indexing.RedefinesDot
Namespace: matlab.mixin.indexing
Determine number of values to return from customized indexing operations beginning with dots
Since R2021b
Syntax
n = dotListLength(obj,indexOp,indexContext)
Description
      n = dotListLength(obj,indexOp,indexContext)[C{:}] = obj{1:3} and [obj{1}.prop{1:3}] = B{:}. The
        indexOp object contains the indices being changed, and
        indexContext identifies whether the reference is used in a statement, as a
      list of arguments to a function, or in an assignment operation. 
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 R2021b