view m-toolbox/m/gui/ltpdv/callbacks/ltpdv_build_get_selected_pset.m @ 15:ce3fbb7ebe71
database-connection-manager
Remove broken functions from utils.jmysql
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05)
parents
f0afece42f48
children
line source
+ − % LTPDV_BUILD_GET_SELECTED_PSET returns the currently selected set on
+ − % the build panel.
+ − %
+ − % M Hewitson 26-08-08
+ − %
+ − % $Id: ltpdv_build_get_selected_pset.m,v 1.1 2008/09/02 07:51:47 hewitson Exp $
+ − %
+ −
+ − function set = ltpdv_build_get_selected_pset(mainfig)
+ −
+ − % Fill in the set selector list
+ − sh = findobj(mainfig, 'Tag', 'LTPDVbuildSetSelect');
+ −
+ − % Get the selected class
+ − strs = get(sh, 'String');
+ − idx = get(sh, 'Value');
+ − set = strs{idx};
+ −
+ − end