MATLAB Creating Graphical User Interfaces
Create Menus for GUIDE UIs 3 Fill in the Label and Tag fields for the menu. For example, set Label to File and set Tag to file_m ...
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-do ...
Create Menus for GUIDE UIs You can also Choose an alphabetic keyboard accelerator for the menu item with the Accelerator pop-up ...
6 Lay Out a UI Using GUIDE Specify a string for the routine, i.e., the Callback, that performs the action associated with the m ...
Create Menus for GUIDE UIs NoteSee “Menu Item” on page 8-22 for information about programming menu items. The following Menu Edi ...
6 Lay Out a UI Using GUIDE When you run your program, the menu titles appear in the menu bar. ...
Create Menus for GUIDE UIs Context Menus A context menu is displayed when a user right-clicks the object for which the menu is d ...
6 Lay Out a UI Using GUIDE Create the Parent Menu All items in a context menu are children of a menu that is not displayed on th ...
Create Menus for GUIDE UIs Add Items to the Context Menu Use the New Menu Item button to create menu items that are displayed in ...
6 Lay Out a UI Using GUIDE 2 Fill in the Label and Tag fields for the new menu item. For example, set Label to Blue background c ...
Create Menus for GUIDE UIs You can also modify menu items in these ways: Display a separator above the menu item by checking Se ...
6 Lay Out a UI Using GUIDE callback in the code file using a combination of the Tag field and the UI file name. The callback's n ...
Create Menus for GUIDE UIs The following figure shows the UIContextMenu property for the axes object with Tag property axes1. In ...
6 Lay Out a UI Using GUIDE Create Toolbars for GUIDE UIs In this section... “Toolbar and Tools” on page 6- 108 “Editing Tool Ico ...
Create Toolbars for GUIDE UIs The Toolbar Editor gives you interactive access to all the features of the uitoolbar, uipushtool, ...
6 Lay Out a UI Using GUIDE 1 Open the UI in GUIDE. 2 From the View menu, open Property Inspector. 3 Set the ToolBar property to ...
Create Toolbars for GUIDE UIs To add a tool, drag an icon from the Tool Palette into the Toolbar Layout (which initially contain ...
6 Lay Out a UI Using GUIDE Select a tool in the palette and click the Add button. Double-click a tool in the palette. Dragging ...
Create Toolbars for GUIDE UIs Predefined and Custom Tools The Toolbar Editor provides two types of tools: Predefined tools, hav ...
6 Lay Out a UI Using GUIDE Drag a tool to a new position. Select a tool in the toolbar and click one of the arrow buttons below ...
«
5
6
7
8
9
10
11
12
13
14
»
Free download pdf