MATLAB Function Reference Previous page   Next Page
subsindex

Overloaded method for X(A)

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, subsref


Previous page  subsasgn subspace Next page

© 1994-2005 The MathWorks, Inc.