Documentation of isfigure


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

isF = isfigure( h )

Help text

ISFIGURE True for Figure handles.
   ISFIGURE(H) returns an array that contains 1's where the elements
   of H are valid Figure handles and 0's where they are not.

Cross-Reference Information

This function calls This function is called by

Listing of function isfigure

function isF = isfigure( h )

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/15 22:42:42 $

error( nargchk(1,1,nargin) )

isF = ishghandle(h);

for i = 1:length(h(:))
	if isF(i)
		isF(i) = strcmp( get(h(i),'type'), 'figure' );
	end
end