Add Components to the GUIDE Layout AreaAdd Components to the GUIDE Layout Area
In this section...
“Place Components” on page 6- 17
“User Interface Controls” on page 6- 23
“Panels and Button Groups” on page 6- 44
“Axes” on page 6- 50
“Table” on page 6- 54
“ActiveX Component” on page 6- 65
“Resize GUIDE UI Components” on page 6- 67Place Components
The component palette at the left side of the Layout Editor contains the components that
you can add to your UI.NoteSee “Create Menus for GUIDE UIs” on page 6-91 for information about adding
menus to a UI. See “Create Toolbars for GUIDE UIs” on page 6-108 for information
about working with the toolbar.To place components in the GUIDE layout area and give each component a unique
identifier, follow these steps:1 Display component names on the palette.a On the MATLAB Home tab, in the Environment section, click Preferences.
b In the Preferences dialog box, click GUIDE.
c Select Show Names in Component Palette, and then click OK.
2 Place components in the layout area according to your design.- Drag a component from the palette and drop it in the layout area.
- Click a component in the palette and move the cursor over the layout area. The
cursor changes to a cross. Click again to add the component in its default size, or
click and drag to size the component as you add it.