MATLAB Creating Graphical User Interfaces

(Barry) #1
Create Menus for GUIDE UIs

3 Fill in the Label and Tag fields for the menu. For example, set Label to File and
set Tag to file_menu. Click outside the field for the change to take effect.


Label is a string that specifies the text label for the menu item. To display the &
character in a label, use two & characters in the string. The words remove, default,
and factory (case sensitive) are reserved. To use one of these as labels, prepend a
backslash (\) to the string. For example, \remove yields remove.

Tag is a string that is an identifier for the menu object. It is used in the code to
identify the menu item and must be unique in your UI code file.
Free download pdf