view m-toolbox/test/gui/gltpda_init.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line source

function handlesout = glptda_init(handles)
% GLTPDA_INIT Setup of various things at startup.
% 
% M Hewitson 15-02-07
% 
% $Id: gltpda_init.m,v 1.1 2007/03/12 13:00:31 hewitson Exp $


settings = getappdata(handles.main, 'settings');


%% Setup the analysis objects structure

aos.objs    = [];
aos.nobjs   = 0;
aos.counter = 0;
setappdata(handles.main, 'aos', aos);

%% Set function list

fcnlist = [];
for j=1:length(settings.functions)
  fcnlist = [fcnlist cellstr(settings.functions(j).call)];
end

set(handles.analysisList, 'String', fcnlist);


%% Return new handles

handlesout = handles;

% END