Main Content

ishandle

Test for valid graphics orJavaobject handle

Syntax

ishandle(H)

Description

ishandle(H)returns an array whose elements are1where the elements ofHare graphics or Java®object handles, and0where 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 thehandleclassisvalidmethod to determine the validity of handle objects. SeeTest Handle Validityfor information on testing for MATLAB handle objects.

Graphics Object Handles

Useisgraphicsfor graphics objects.

JavaObject Handles

Useisjavafor Java objects.

See Also

||

Introduced before R2006a