(^3) Click OK to open the UI template in the Layout Editor.
Template Descriptions
GUIDE provides four fully functional templates. They are described in the following
sections:
- “Blank GUI” on page 6-3
- “GUI with Uicontrols” on page 6-4
- “GUI with Axes and Menu” on page 6-6
- “Modal Question Dialog” on page 6-7
“Out of the box,” none of the UI templates include a menu bar or a toolbar. Neither can
they dock in the MATLAB desktop. You can, however, override these GUIDE defaults to
provide and customize these controls. See the sections “Create Menus for GUIDE Apps”
on page 6-77 and “Create Toolbars for GUIDE UIs” on page 6-94 for details.
NoteTo see how the templates work, you can view their code and look at their callbacks.
You can also modify the callbacks for your own purposes. To view the code file for any of
these templates, open the template in the Layout Editor and click the Editor button on
the toolbar.
Blank GUI
The following figure shows an example of this template.
GUIDE Templates