User`s guide
Add Components to the GUI
To display the & character in a menu i tem, use two & characters in the
string. The words
remove, default,andfactory (case sensitive) are
reserved. To use one of these as a label, prepend a backslash (
\)tothe
string. For example,
\remove yields remove.
If the w idth of the component is too small to accommodate one or more of
the specified strings, MATLAB softw are truncates those strings w ith an
ellipsis.
• To select an item when the component is created, set
Value to a scalar
that indicates the index of the selected list item, where 1 corresponds to
the first item in the list. If you set
Value to 2, the menu looks like this
when it is created:
6-51