Specifications
3 GUIDE Layout Tools
3-6
Saving the Layout
Once you have created the GUI layout, you can save it as a FIG-file (a binary
file that saves the contents of a figure) using the
Save or Save As item from the
File menu. GUIDE creates the application M-file automatically when you save
or activate the figure.
Displaying Your GUI
You can display the GUI figure using the openfig, open, or hgload command.
These commands load FIG-files into the MATLAB workspace.
Generally, however, you launch your GUI by executing the application M-file
that is generated by GUIDE. This M-file contains the commands to load the
GUI and provides a framework for the component callbacks. See Configuring
the Application M-File for more information.
Layout Editor Preferences
You can set preferences for the Layout Editor by selecting Preferences from
the
File menu.