IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
listbox_get_selected_1stname.m
Go to the documentation of this file.
1
%>@ingroup misc
2
%>@file
3
%>@brief Returns the first selected
string
o a listbox of popupmenu
4
5
function
s =
listbox_get_selected_1stname
(h_listbox)
6
s = '';
7
a = get(h_listbox, 'String');
8
if ~isempty(a)
9
a = a(get(h_listbox, 'Value'));
10
if ~(a{1}(1) ==
'('
)
11
s = a{1};
12
end;
13
end;
listbox_get_selected_1stname
function listbox_get_selected_1stname(in h_listbox)
m
gui
auxi
listbox_get_selected_1stname.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1