Specifications

2 Creating a GUI
2-26
Saving and Running a GUI
After writing the callbacks, you can run the GUI by selecting Run from the
Tools menu or clicking the Run button on the GUIDE toolbar. If you have not
saved the GUI recently, GUIDE displays the following dialog box.
If this happens, click
Yes and then save the GUI files to a writable directory.
If the directory where you save the GUI is not on the MATLAB path, GUIDE
opens the following dialog, giving you the option of changing the current
working directory to the directory containing the GUI files, or adding that
directory to the MATLAB path.
Click
OK to change the current working directory. GUIDE then opens the GUI
as shown in the following figure.