Creating Graphical User Interfaces |
Functions and Callbacks in the M-File
You can add code to the following parts of the GUI M-file:
Common Input Arguments
All functions in the M-file have the following input arguments corresponding to the handles structure:
hObject
-- the handle to the figure or Callback
object
handles
-- structure with handles and user data (see guidata
)
The handles
structure is saved at the end of each function with the command
Additional arguments for the opening and output functions are described in the following sections.
Sharing Data with the Handles Structure | Opening Function |