MATLAB Creating Graphical User Interfaces
Leave the Available column at the default value. This allows MATLAB to chose based on the value of the Data property of the tabl ...
NoteFor a user to select items from a choice list, the ColumnEditable property of the column that the list occupies must be set ...
Set Data Properties Use the Data property to specify the data in the table. Create the data in the command window before you spe ...
Set Color Properties Specify the BackgroundColor and RowStriping for your table in the Color tab. 6 Lay Out a UI Using GUIDE ...
You can change other uitable properties to the table via the Property Inspector. ActiveX Component When you drag an ActiveX comp ...
(^1) Select the desired ActiveX control. The right panel shows a preview of the selected control. (^2) Click Create. The control ...
When you select an ActiveX control, you can open the ActiveX Property Editor by right- clicking and selecting ActiveX Property E ...
Set the Component's Position Property Select one or more components that you want to resize. Then select View > Property Insp ...
(^2) Click the + sign next to Position. The Property Inspector displays the elements of the Position property. (^3) Type the wid ...
“Callbacks for Specific Components” on page 7-12 6 Lay Out a UI Using GUIDE ...
Align GUIDE UI Components In this section... “Align Objects Tool” on page 6-65 “Property Inspector” on page 6-68 “Grid and Ruler ...
The Align Objects tool provides two types of alignment operations: Align — Align all selected components to a single reference ...
All of the align options (vertical top, center, bottom and horizontal left, center, right) place the selected components with re ...
Property Inspector About the Property Inspector In GUIDE, as in MATLAB generally, you can see and set most components' propertie ...
Scroll down to see additional properties. Click any property value or icon to set its value. The Property Inspector provides con ...
6 Lay Out a UI Using GUIDE ...
Use the Property Inspector to Align Components The Property Inspector enables you to align components by setting their Position ...
You can optionally enable snap-to-grid, which causes any object that is moved close to a grid line to jump to that line. Snap-to ...
See Also Related Examples “GUIDE Options” on page 5-10 See Also ...
Customize Tabbing Behavior in a GUIDE UI The tab order is the order in which components acquire focus when a user presses the Ta ...
«
3
4
5
6
7
8
9
10
11
12
»
Free download pdf