Documentation of iduigetd


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


Function Synopsis

[data,data_info,data_n,handles] = iduigetd(type)

Help text

IDUIGETD Gets the desired active data set
   TYPE: 'e' The Estimation data set is returned
   TYPE: 'v' The Validation data set is returned
   DATA: The data
   DATA_INFO: The corresponding information matrix
   DATA-N: The data name
   handles: The handles [kax,klin,kname].

Cross-Reference Information

This function calls This function is called by

Listing of function iduigetd

function [data,data_info,data_n,handles] = iduigetd(type)

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

global XIDhw

if type=='e',
   hax=XIDhw(3,1);
elseif type=='v',
    hax=XIDhw(4,1);
end

hnrdat=findobj(hax,'tag','selline');
hnrstr=findobj(hax,'tag','name');
data=get(hnrdat,'UserData');
data_info=get(hnrstr,'UserData');
data_n=get(hnrstr,'String');
handles=[hax,hnrdat,hnrstr];