Specifications

3 Laying Out GUIs and Setting Properties
3-2
Using GUIDE Templates
GUIDE provides several templates, which are simple examples that you can
modify to create your own GUIs. The templates are fully functional GUIs: their
callbacks are already programmed. You can view the code for these callbacks
to see how they work, and then modify the callbacks for your own purposes.
You can access the templates in two ways:
Start GUIDE by entering
guide at the MATLAB prompt.
If GUIDE is already open, select
New from the File menu in the Layout
Editor.
Starting GUIDE displays the
GUIDE Quick Start dialog as shown in the
following figure.
The
Quick Start dialog gives you two options:
Select the
Open Existing GUI tab and open a GUI that you have already
created.
Select the
Create New GUI tab and open one of the templates.
The preceding figure shows the
Quick Start dialog with the Create New GUI
tab selected. Selecting a template in the left pane displays a preview in the