view 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
line wrap: on
line source

% LTPDV_BUILD_SET_SELECT callback when the user selects a parameter set to
% work with.
% 
% M Hewitson 26-08-08
% 
% $Id: ltpdv_build_set_select.m,v 1.1 2008/09/02 07:51:47 hewitson Exp $
% 
function ltpdv_build_set_select(varargin)
  
  % Handles
  myh     = varargin{1};
  mainfig = varargin{end};

  % Get selected class
  cl = ltpdv_build_get_selected_class(mainfig);
  
  % Get selected set
  set = ltpdv_build_get_selected_pset(mainfig);
  
  % Get parameter set
  ii = eval([cl '.getInfo(''' cl ''',''' set ''')']);
  pl = ii.plists;
  
  % Build parameter list
  ph = findobj(mainfig, 'Tag', 'LTPDVbuildParamsPanel');
  ltpdv_build_params_panel(ph, pl, 'on')
  
end