Documentation of fiacthad


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


Function Synopsis

[index,cindex]=fiacthad

Help text

FIACTHAD Finds the selected data sets.

Cross-Reference Information

This function calls This function is called by

Listing of function fiacthad

function [index,cindex]=fiacthad

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

global XIDsumb
sumb=findobj(get(0,'children'),'flat','tag','sitb30');
models=findobj([XIDsumb(1);sumb(:)],'tag','dataline');

ind=findobj(models,'flat','linewidth',3);
cind=findobj(models,'flat','linewidth',0.5);
if isempty(ind)
   iduistat('No data sets selected. Click on data icons to select desired ones.')
end
index=[];
cindex=[];
for kh=ind(:)'
    tag=get(get(kh,'parent'),'tag');
    index=[index,eval(tag(6:length(tag)))];
end
for kh=cind(:)'
    tag=get(get(kh,'parent'),'tag');
    cindex=[cindex,eval(tag(6:length(tag)))];
end