MATLAB Creating Graphical User Interfaces
GUIDE Options Resize Behavior You can control whether users can resize the window and how MATLAB handles resizing. GUIDE provide ...
5 GUIDE Preferences and Options h = gcf For a UI created in GUIDE, set the Command-line accessibility option to prevent users fr ...
GUIDE Options GUIDE also adds a callback whenever you edit a callback routine from the Layout Editor's right-click context menu ...
5 GUIDE Preferences and Options To ensure that the figure background matches the color of the components, select Use system colo ...
GUIDE Options Callbacks for UIs without Code Even when there is no code file associated with a UI FIG-file, you can still provid ...
...
6 Lay Out a UI Using GUIDE “GUIDE Templates” on page 6- 2 “Set the UI Window Size in GUIDE” on page 6- 11 “GUIDE Components” on ...
6 Lay Out a UI Using GUIDE GUIDE Templates In this section... “Access the Templates” on page 6- 2 “Template Descriptions” on pag ...
GUIDE Templates To use a template: 1 Select a template in the left pane. A preview displays in the right pane. 2 Optionally, nam ...
6 Lay Out a UI Using GUIDE Select this template when the other templates are not suitable for the UI you want to create. GUI wit ...
GUIDE Templates When you click the Run button , the UI appears as shown in the following figure. ...
6 Lay Out a UI Using GUIDE When you enter values for the density and volume of an object, and click the Calculate button, the pr ...
GUIDE Templates When you click the Run button on the toolbar, the UI displays a plot of five lines, each of which is generated f ...
6 Lay Out a UI Using GUIDE You can select other plots in the pop-up menu. Clicking the Update button displays the currently sele ...
GUIDE Templates When you click the Run button, the following dialog displays. ...
6 Lay Out a UI Using GUIDE The dialog returns the text string, Yes or No, depending on which button you click. Select this templ ...
Set the UI Window Size in GUIDE Set the UI Window Size in GUIDE Set the size of the UI window by resizing the grid area in the L ...
6 Lay Out a UI Using GUIDE Set the Window Position or Size to an Exact Value (^1) In the Layout Editor, open the Property Inspec ...
GUIDE Components GUIDE Components The component palette at the left side of the Layout Editor contains the components that you c ...
6 Lay Out a UI Using GUIDE Component Icon Description “Push Button” on page 6- 25 Push buttons generate an action when clicked. ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf