User`s guide
Create Menus for a Programmatic GUI
Create Menus for a Programmatic GUI
In this section...
“Add Menu Bar Menus” on page 11-75
“Add Context Menus to a Program matic GUI” on page 11-81
Add Menu Bar Menus
Use the uimenu function to add a menu bar menu to your GUI. A syntax
for
uimenu is
mh = uimenu(parent,'PropertyName',PropertyValue,...)
Where mh isthehandleoftheresultingmenuormenuitem. Seetheuimenu
reference page for other valid syntaxes.
These topics discuss use of the MATLAB standard menu bar menus and
describe comm only used menu properties and offer some simple examples.
• “Display Standard Menu Bar M enus” o n page 11-75
• “Commonly U sed Properties” on page 11-76
• “How Menus Affect Figure Docking” on page 11-77
• “Menu Bar Menu” on page 11-79
Display Standard Menu Bar Menus
Displaying the standard menu bar menus is optional.
11-75