Creating Graphical User Interfaces |
Running a GUI
To run a GUI, select Run from the Tools menu, or click the run button on the toolbar. This displays the functioning GUI outside the Layout Editor. For example, when you run the GUI with Axes and Menu template, it appears as shown in the following figure.
This GUI displays various MATLAB plots. Select a plot from the pop-up menu and click Update.
Note If you are running the GUI for the first time and have not yet saved it, GUIDE first asks you if you want to save the figure and M-files that define the GUI. If you click Yes, GUIDE displays a Save As dialog box. After you have saved the files, GUIDE runs the GUI and opens an M-file for the GUI in the default text editor. See GUI FIG-Files and M-Files for information about these files. |
GUIDE Templates | GUI FIG-Files and M-Files |
© 1994-2005 The MathWorks, Inc.