(translator=anticat, ChineseSource=anticat-20020715-12\ishandle.html, EnglishSource=c:\matlabr12\help\techdoc\ref\ishandle.html)

MATLAB Function Reference

   

ishandle

決定這個值是否為可用的圖像物件握把

Syntax

array = ishandle(h)

Description

array = ishandle(h) 傳回一個陣列,若h的對應元素為可取得的圖像物件握把,則其值為1,反之為0

Examples

決定之前由 fill 所傳回的握把是否仍為存在的圖像物件

X = rand(4); Y = rand(4);
h = fill(X,Y,'blue')
.
.
.
delete(h(3))
.
.
.
ishandle(h)
ans =
    1
    1
    0
    1

See Also

findobj

 

 

Isappdata

 

ishold