Mercurial > hg > ltpda
comparison m-toolbox/m/gui/ltpdv/callbacks/ltpdv_build_set_select.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 % LTPDV_BUILD_SET_SELECT callback when the user selects a parameter set to | |
2 % work with. | |
3 % | |
4 % M Hewitson 26-08-08 | |
5 % | |
6 % $Id: ltpdv_build_set_select.m,v 1.1 2008/09/02 07:51:47 hewitson Exp $ | |
7 % | |
8 function ltpdv_build_set_select(varargin) | |
9 | |
10 % Handles | |
11 myh = varargin{1}; | |
12 mainfig = varargin{end}; | |
13 | |
14 % Get selected class | |
15 cl = ltpdv_build_get_selected_class(mainfig); | |
16 | |
17 % Get selected set | |
18 set = ltpdv_build_get_selected_pset(mainfig); | |
19 | |
20 % Get parameter set | |
21 ii = eval([cl '.getInfo(''' cl ''',''' set ''')']); | |
22 pl = ii.plists; | |
23 | |
24 % Build parameter list | |
25 ph = findobj(mainfig, 'Tag', 'LTPDVbuildParamsPanel'); | |
26 ltpdv_build_params_panel(ph, pl, 'on') | |
27 | |
28 end |