Specifications

Creating Menus — The Menu Editor
3-57
Creating Menus — The Menu Editor
MATLAB enables you to create two kinds of menus:
Menu bar objects — drop-down menus whose titles appear on the figure
menu bar.
Context menu objects — pop up when users right-click on graphics objects.
They are also known as shortcut menus.
You can create both types of menus using the Menu Editor. Access the Menu
Editor from the
Tools menu or from the Layout Editor toolbar.
These menus are implemented with
uimenu and uicontextmenu objects. See
“Menu Callbacks” on page 3-63 for information about defining callback
subfunctions for your menus.
Create a new menu
Create a new menu item
Create a new context menu
Delete selected item
Move selected menu item