Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ishghandle

True for graphics object handles

Syntax

ishghandle(h)

Description

ishghandle(h) returns an array that contains 1's where the elements of h are handles to existing graphic objects and 0's where they are not. Differs from ishandle in that Simulink® objects handles return false.

Examples

Create a plot and find the valid handles:

x = [1:10];
y = [1:10];
p = plot(x,y);
ishghandle(p)
ans =

     1

See Also

| |

Was this topic helpful?