Function Reference

Object Oriented Programming

Creating a Class

isobject
Return true if X is a class object.
methods
Return a cell array containing the names of the methods for the object X or the named class.
ismethod
Return true if X is a class object and the string METHOD is a method of this class.

Manipulating Classes

display
Display the contents of an object.
saveobj
Method of a class to manipulate an object prior to saving it to a file.
loadobj
Method of a class to manipulate an object after loading it tfrom a file.

Indexing Objects

subsref
Perform the subscripted element selection operation according to the subscript specified by IDX.
subsasgn
Perform the subscripted assignment operation according to the subscript specified by IDX.
end
Not implemented.
subsindex
Convert an object to an index vector.
colon
Method of a class to construct a range with the `:' operator.

Overloading Objects

superiorto
When called from a class constructor, mark the object currently constructed as having a higher precedence than CLASS_NAME.
inferiorto
When called from a class constructor, mark the object currently constructed as having a lower precedence than CLASS_NAME.