Specifications

An Address Book Reader
5-31
An Address Book Reader
This example shows how to implement a GUI that displays names and phone
numbers, which it reads from a MAT-file.
Techniques Used in This Example
This example demonstrates the following GUI programming techniques:
Uses open and save dialogs to provide a means for users to locate and open
the address book MAT-files and to save revised or new address book
MAT-files.
Defines callbacks written for GUI menus.
Uses the GUI’s
handles structure to save and recall shared data.
Uses a GUI figure resize function.
Managing Shared Data
One of the key techniques illustrated in this example is how to keep track of
information and make it available to the various subfunctions. This
information includes
The name of the current MAT-file