comparison m-toolbox/test/gui/functions/gltpda_setAOlist.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 gltpda_setAOlist(handles)
2
3 % GLTPDA_SETAOLIST sets the AO list to display the current array of
4 % analysis objects.
5 %
6 %
7 % M Hewitson 15-02-07
8 %
9 % $Id: gltpda_setAOlist.m,v 1.1 2007/03/12 13:00:31 hewitson Exp $
10 %
11
12 % get analysis objects
13 aos = getappdata(handles.main, 'aos');
14
15 aolist = [];
16 for j=1:length(aos.objs)
17
18 a = aos.objs(j);
19
20 aolist = [aolist cellstr(char(a))];
21 end
22
23 set(handles.aoList, 'String', aolist);
24 set(handles.aoList, 'Value', aos.nobjs);
25
26 % Update plots
27 gltpda_setPlots(handles)
28
29
30 % END