Creating Graphical User Interfaces Previous page   Next Page

Running the GUI with the Close Button

Run the GUI with the Close button by clicking the Run button on the Layout Editor toolbar. The GUI appears as in the following figure:

GUI with close button

When you click the Close button on the GUI, the modal dialog appears as shown in the following figure:

finished modal dialog for the confirm close GUI

Clicking the Yes button closes both the close dialog and the GUI that calls it. Clicking the No button closes just the dialog.


Previous page  Setting Up the GUI with the Close Button How the GUI and Dialog Work Next page

© 1994-2005 The MathWorks, Inc.