MATLAB Function Reference    
isobject

Determine if item is a MATLAB OOPs object

Syntax

Description

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

Examples

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 (0).

See Also
isjava, isstruct, iscell, ischar, isnumeric, islogical, isa, is*


  isnumeric isocaps