Specifications

1 Getting Started with GUIDE
1-16
5. Activate the GUI
Activate the GUI by selecting Activate Figure from the Tools menu or use the
activator button from the GUIDE toolbar. The following picture shows the
GUI. See Activating the Figure for more detailed information on what figure
activation does.
The Application M-File
Activating the GUI also opens the MATLAB editor with the M-file generated
for the GUI. You must program the various components in your GUI in this
M-file. The next section show how to do this.
Note The name of the FIG-file saved by the Layout Editor and the generated
application M-file must match. See Renaming Application Files and Tags if
you want to rename files or change Tags after first activating the GUI.
Example – Programming the GUI
When you first save or activate the GUI, GUIDE generates the application
M-file that will contain all the code to launch and control the GUI. You must