Documentation of fiactha


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


Function Synopsis

[index,cindex]=fiactha(hh)

Help text

FIACTHA Finds indices of handles HH that are active uicontrols ('Value'==1).

Cross-Reference Information

This function is called by

Listing of function fiactha

function [index,cindex]=fiactha(hh)

%   L. Ljung 4-4-94
%   Copyright (c) 1986-98 by The MathWorks, Inc.
%   $Revision: 2.3 $  $Date: 1997/12/02 03:41:23 $

index=[];cindex=[];
for k=1:length(hh)
eval('if get(hh(k),''value''),index=[index,k];else cindex=[cindex,k];end',...
 'cindex=[cindex,k];')
end