matlab中的ishghandle

ishghandle True for Handle Graphics object handles.
ishghandle(H) returns an array that contains 1's where the elements
of H are valid graphic object handles and 0's where they are not.
Differs from ISHANDLE in that Simulink objects handles return false
% 判断H是否是图像句柄,如:
I = imread('000.jpg'); H = imshow(I);
ishghandle(H)
ans =
1
A = 666.6471;
>> ishghandle(A)
ans =
0
上一篇:获得N位数字字母随机组合


下一篇:迷你MVVM框架 avalonjs 1.3.2发布