comparison m-toolbox/m/gui/ltpdv/callbacks/ltpdv_server_get_channels.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 chans = ltpdv_server_get_channels(mainfig)
2
3 % Get handle to list
4 ch = findobj(mainfig, 'Tag', 'LTPDVchannelList');
5 idx = get(ch, 'Value');
6 strs = cellstr(get(ch, 'String'));
7
8 chans = strs(idx);
9