Specifications
5 GUI Applications
5-32
• The names and phone numbers stored in the MAT-file
• An index pointer that indicates the current name and phone number, which
must be updated as the user pages through the address book
• The figure position and size
• The handles of all GUI components
The descriptions of the subfunctions that follow illustrate how to save and
retrieve information from the
handles structure. See “Sharing Data with the
Handles Structure” on page 4-2 for background information on this structure.
View Completed Layout and Its GUI M-File
If you are reading this in the MATLAB Help browser, you can click the
following links to display the GUIDE Layout Editor and the MATLAB Editor
with a completed version of this example. This enables you to see the values of
all component properties and to understand how the components are
assembled to create the GUI. You can also see a complete listing of the code
that is discussed in the following sections.
Note The following links execute MATLAB commands and are designed to
work within the MATLAB Help browser. If you are reading this online or in
PDF, you should go to the corresponding section in the MATLAB Help
Browser to use the links.
• Click here to display this GUI in the Layout Editor.
• Click here to display the GUI M-file in the MATLAB Editor.
Running the GUI
The GUI is nonblocking and nonmodal since it is designed to be displayed while
you perform other MATLAB tasks.
GUI Option Settings
This GUI uses the following GUI option settings:
• Resize behavior:
User-specified
• Command-line accessibility: Off