Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function handlesout = glptda_init(handles) | |
2 % GLTPDA_INIT Setup of various things at startup. | |
3 % | |
4 % M Hewitson 15-02-07 | |
5 % | |
6 % $Id: gltpda_init.m,v 1.1 2007/03/12 13:00:31 hewitson Exp $ | |
7 | |
8 | |
9 settings = getappdata(handles.main, 'settings'); | |
10 | |
11 | |
12 %% Setup the analysis objects structure | |
13 | |
14 aos.objs = []; | |
15 aos.nobjs = 0; | |
16 aos.counter = 0; | |
17 setappdata(handles.main, 'aos', aos); | |
18 | |
19 %% Set function list | |
20 | |
21 fcnlist = []; | |
22 for j=1:length(settings.functions) | |
23 fcnlist = [fcnlist cellstr(settings.functions(j).call)]; | |
24 end | |
25 | |
26 set(handles.analysisList, 'String', fcnlist); | |
27 | |
28 | |
29 %% Return new handles | |
30 | |
31 handlesout = handles; | |
32 | |
33 % END |