MATLAB Function Reference Previous page   Next Page

Determine if input is MATLAB OOPs object



tf = isobject(A) returns logical 1 (true) if A is a MATLAB object and logical 0 (false) otherwise.


Create an instance of the polynom class as defined in the section Example - A Polynomial Class in the MATLAB documentation.

isobject indicates that p is a MATLAB object.

Note that isjava, which tests for Java objects in MATLAB, returns false.

See Also

isjava, isstruct, iscell, ischar, isnumeric, islogical, ismethod, isprop, isevent, methods, class, isa, is*

Previous page  isnumeric isocaps Next page

© 1994-2005 The MathWorks, Inc.