Creating Graphical User Interfaces |
The GUI M-file generated by GUIDE controls the GUI and determines how it responds to a user's action, 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, which are subfunctions of the M-file, to perform the functions you want them to.
This section explains the overall structure of the M-file. The section covers the following topics:
To learn more about programming callbacks, see Subfunctions in the online MATLAB documentation.
Programming GUIs | Sharing Data with the Handles Structure |
© 1994-2005 The MathWorks, Inc.