MATLAB Creating Graphical User Interfaces

(ff) #1

The following figure shows the UIContextMenu property for the axes object with Tag
property axes1.


In the code file, complete the local callback function for each item in the context menu.
Each callback executes when a user selects the associated context menu item. See “Menu
Item” on page 7-22 for information on defining the syntax.


NoteSee “Menu Item” on page 7-22 and “How to Update a Menu Item Check” on page
7-24 for programming information and basic examples.


See Also


Related Examples



  • “Write Callbacks in GUIDE” on page 7-2

  • “Callbacks for Specific Components” on page 7-12

  • “Create Toolbars for GUIDE UIs” on page 6-94


See Also
Free download pdf