![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Populates listbox/popupmenu with variables in workspace that belong to certain class.
Note: "leave blank" option should be used with popup menus only.
Definition in file listbox_load_from_workspace.m.
Go to the source code of this file.
Functions | |
function | listbox_load_from_workspace (in classname, in h_list, in flag_blank, in string_empty, in input) |
function | make_cell (in s) |
function listbox_load_from_workspace | ( | in | classname, |
in | h_list, | ||
in | flag_blank, | ||
in | string_empty, | ||
in | input | ||
) |
classname | |
h_list | Handle to listbox or popupmenu |
flag_blank=0 | Whether to include a "(leave blank)" option |
string_empty | (optional) String to show instead of the default (leave blank) or (none) entries. May also be a cell of strings. In this case, all options in the cell will be added at the beginning. |
input | (optional) (may be either a string with a class name or an instance of such class) Input class to match. This is applicable only if classname is "block" or descendant. |
function make_cell | ( | in | s | ) |