Mercurial > hg > ltpda
comparison m-toolbox/m/gui/ltpdv/callbacks/ltpdv_preproc_fcnlist.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 ltpdv_preproc_fcnlist(varargin) | |
2 | |
3 % Handles | |
4 myh = varargin{1}; | |
5 paramh = varargin{end-1}; | |
6 mainfig = varargin{end}; | |
7 | |
8 % Get the selected method | |
9 lidx = get(myh, 'Value'); | |
10 lstr = get(myh, 'String'); | |
11 fcn = lstr{lidx}; | |
12 | |
13 fcns = ltpdv_preproc_function_list; | |
14 idx = strcmp(fcn, fcns); | |
15 idx = find(idx(:,2)); | |
16 fcn = fcns{idx,1}; | |
17 | |
18 % Get parameters for this method | |
19 ii = ao.getInfo(fcn); | |
20 | |
21 % Build params panel | |
22 if numel(ii.plists) == 1 | |
23 ltpdv_build_params_panel(paramh, ii.plists); | |
24 else | |
25 ltpdv_build_params_panel(paramh, ii); | |
26 end | |
27 | |
28 | |
29 |