Creating Graphical User Interfaces    

Defining the Yes and No Buttons Callbacks

The callbacks for the Yes and No buttons perform the same basic steps:

The Tag property of each push button uicontrol was changed before saving the application M-file so that the callback function names are more descriptive. The following code illustrates the implementation of the callbacks.


 Executing a Callback Protecting the GUI with a Close Request Function