MATLAB Creating Graphical User Interfaces

(Barry) #1
UI That Uses Persistent Data

UI That Uses Persistent Data


In this section...
“About the Example” on page 9- 7
“Calling Syntax” on page 9- 8
“MAT-file Validation” on page 9- 9
“UI Behavior” on page 9- 10
“Overall UI Characteristics” on page 9- 17

About the Example


This example shows how to manage MAT-file data using local functions in a GUIDE
code file. It steps you through the code that reads and displays data from a MAT-file. In
addition, the UI provides a File menu for saving a MAT-file (or loading a new one), and a
Contact menu for adding entries to the MAT-file.

To get and view the example code:

1 Copy the example FIG-file and code file to your current (writeable) folder and open
the FIG-file in GUIDE:
Free download pdf