view m-toolbox/test/gui/gltpda_init.m @ 29:54f14716c721 database-connection-manager

Update Java code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
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