This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Test for valid graphics or Java object handle




ishandle(H) returns an array whose elements are 1 where the elements of H are graphics or Java® object handles, and 0 where they are not.


Use the most specific function for your application instead of ishandle, as described in the following sections.

MATLAB Handle Objects

Use the isa function to determine the class of MATLAB® objects.

Use the handle class isvalid method to determine the validity of handle objects. See Test Handle Validity for information on testing for MATLAB handle objects.

Graphics Object Handles

Use isgraphics for graphics objects.

Java Object Handles

Use isjava for Java objects.

See Also

| |

Introduced before R2006a