| MATLAB Function Reference | Search  Help Desk |
| isa | Examples See Also |
Detect an object of a given class
K = isa(obj,'class_name')
K = isa(obj,'class_name')
returns logical true (1) if obj is of class (or a subclass of) class_name, and logical false (0) otherwise.
The argument class_name is the name of a user-defined or pre-defined class of objects. Predefined MATLAB classes includeisa(rand(3,4),'double') returns 1.
class Create object or return class of object