Creating Graphical User Interfaces    

Understanding the GUI M-File

The GUI M-file generated by GUIDE controls the GUI and determines how it responds to a user's actions, such as pressing a push button or selecting a menu item. The M-file contains all the code needed to run the GUI, including the callbacks for the GUI components. While GUIDE generates the framework for this M-file, you must program the callbacks to perform the functions you want them to.

This section explains the overall structure of the M-file. The section covers the following topics:

  Programming GUIs Sharing Data with the Handles Structure