| MATLAB Function Reference | ![]() |
Syntax
i = subsindex(A)
Description
i = 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 (i 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 | ![]() |