MATLAB Function Reference |
Syntax
Description
ind = subsindex(A)
is called for the syntax 'X(A)'
when A
is an object. subsindex
must return the value of the object as a zero-based integer index. (ind
must contain integer values in the range 0
to prod(size(X))-1
.) subsindex
is called by the default subsref
and subsasgn
functions, and you can call it if you overload these functions.
See Also
subsasgn | subspace |
© 1994-2005 The MathWorks, Inc.