MATLAB Creating Graphical User Interfaces

(Barry) #1

6 Lay Out a UI Using GUIDE


Add Items to a Menu

Use the New Menu Item tool to create menu items that are displayed in the drop-down
menu.

1 Add an Open menu item under File, by selecting File then clicking the New
Menu Item button in the toolbar. A temporary numbered menu item label,
Untitled, appears.

2 Fill in the Label and Tag fields for the new menu item. For example, set Label to
Open and set Tag to menu_file_open. Click outside the field for the change to take
effect.
Free download pdf