True for graphics object handles
ishghandle(h)
ishghandle(h) returns an array that contains 1's where the elements of h are handles to existing graphics objects and 0's where they are not. Differs from ishandle in that Simulink® objects handles return false.
h
ishandle
collapse all
Create a plot. Test if the output p is a valid graphics object handle.
p
x = 1:10; y = 1:10; p = plot(x,y);
ishghandle(p)
ans = logical 1
gca | isa | isgraphics
gca
isa
isgraphics
You have a modified version of this example. Do you want to open this example with your edits?