MATLAB Creating Graphical User Interfaces

(ff) #1

GUIDE Templates


In this section...
“Access the Templates” on page 6-2
“Template Descriptions” on page 6-3

Access the Templates


GUIDE provides several templates that you can modify to create your own UIs. The
templates are fully functional apps. To access the templates in GUIDE, select File > New.
GUIDE displays the GUIDE Quick Start dialog box with the Create New GUI tab
selected as shown in the following figure. This tab contains a list of the available
templates.

To use a template:

(^1) Select a template in the left pane. A preview displays in the right pane.
(^2) Optionally, name your UI now by selecting Save new figure as and typing the name
in the field to the right. GUIDE saves the UI before opening it in the Layout Editor. If
you choose not to name the UI at this point, GUIDE prompts you to save it and give it
a name the first time you run your program.
6 Lay Out a UI Using GUIDE

Free download pdf