Creating Graphical User Interfaces Previous page   Next Page

GUI Allows Only One Instance to Run (Singleton)

This option allows you to select between two behaviors for the GUI figure:

If you allow only one instance, MATLAB reuses the existing GUI figure whenever the command to run the GUI is issued. If a GUI already exists, MATLAB brings it to the foreground rather than creating a new figure.

If you clear this option, MATLAB creates a new GUI figure whenever you issue the command to run the GUI.


Previous page  Generate Callback Function Prototypes Using the System Background Colors Next page

© 1994-2005 The MathWorks, Inc.