Specifications

Creating Menus – The Menu Editor
3-25
For example, using the Select All menu item from the previous example gives
the following callback string:
MyGui('menu_edit_selectall_Callback',gcbo,[],guidata(gcbo))
where:
MyGui – is the name of the application M-file that launches the figure
containing the menus.
menu_edit_selectall_Callback – is the name of the subfunction callback
for the
Select All menu item (derived from the Tag specified in the Menu
Editor).
gcbo – is the handle of the Select All uimenu item.
[] – is an empty matrix used as a place holder for future use.
guidata(gcbo) – gets the handles structure from the figure’s application
data
Defining Context Menus
Context menus are displayed when users right-click on the object for which the
menu is defined. The Menu Editor enables you to define context menus and
associate them with objects in the layout.
Tag forms
the name of
the callback