Documentation of fiactham


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


Function Synopsis

[index,cindex,confq]=fiactham

Help text

FIACTHA Finds the selected models.
   confq contains the handles of the axes whose models may be
   prepared for confidence interval computations.

Cross-Reference Information

This function calls This function is called by

Listing of function fiactham

function [index,cindex,confq]=fiactham

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

global XIDsumb
sumb=findobj(get(0,'children'),'flat','tag','sitb30');
models=findobj([XIDsumb(1);sumb(:)],'tag','modelline');
ind=findobj(models,'flat','linewidth',3);
cind=findobj(models,'flat','linewidth',0.5);
if isempty(ind)
  iduistat('No models selected. Click on model icons to select desired ones.')
end

confq=[];
index=[];
cindex=[];
for kh=ind(:)'
    hax=get(kh,'parent');
    tag=get(hax,'tag');
    if nargout==3,
       hc=findobj(hax,'tag','ny0');
       if ~isempty(hc),confq=[confq,hax];end
    end
    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