time | Calls | line |
---|
| | 1 | function isF = isfigure( h )
|
| | 2 | %ISFIGURE True for Figure handles.
|
| | 3 | % ISFIGURE(H) returns an array that contains 1's where the elements
|
| | 4 | % of H are valid Figure handles and 0's where they are not.
|
| | 5 |
|
| | 6 | % Copyright 1984-2008 The MathWorks, Inc.
|
| | 7 |
|
| | 8 | % NOTE: This is a copy of toolbox/matlab/graphics/private/isfigure.m.
|
| | 9 | % If one of these becomes a user-visible function (outside the private
|
| | 10 | % directories) then the other needs to be removed.
|
| | 11 | % Till then, ideally, any change needs to be made in both the files.
|
| | 12 |
|
< 0.001 | 12 | 13 | if nargin < 1
|
| | 14 | narginchk(1,1)
|
< 0.001 | 12 | 15 | end
|
| | 16 |
|
< 0.001 | 12 | 17 | isF = ishghandle(h, 'figure');
|
| | 18 |
|
< 0.001 | 12 | 19 | end
|
Other subfunctions in this file are not included in this listing.