ishandle
Test for valid graphics orJavaobject handle
Syntax
ishandle(H)
Description
ishandle(H)
returns an array whose elements are1
where the elements ofH
are graphics or Java®object handles, and0
where they are not.
Note
Use the most specific function for your application instead ofishandle
, as described in the following sections.
MATLAB处理对象
Use theisa
函数来阻止mine the class of MATLAB®objects.
Use thehandle
classisvalid
method to determine the validity of handle objects. SeeTest Handle Validityfor information on testing for MATLAB handle objects.
Graphics Object Handles
Useisgraphics
for graphics objects.
JavaObject Handles
Useisjava
for Java objects.
See Also
Introduced before R2006a