Specifications

Using the Layout Editor
3-19
Right-click and drag the component to the desired location. The position of
the cursor when you drop the components determines the parent of all the
selected components. Look for the highlight as described in “Adding a
Component to a Panel or Button Group” on page 3-14.
Running the GUI
To run the GUI you design in the Layout Editor, select Run in the Tools menu
or click the
Run icon on the toolbar.
When you run a GUI, the following occurs:
GUIDE first prompts you to save both the M-file and FIG-file with the dialog
shown in the following figure.
If you click
Yes and you have not saved the GUI previously, GUIDE opens a
Save As dialog box so you can select a name for both the FIG-file and the
M-file GUIDE generates.
When you click
Save in the Save As dialog box, GUIDE saves the FIG-file
with the same name as the M-file, but with a
.fig extension.
If an M-file with the same name exists, GUIDE prompts you to replace or
append to the existing code in the M-file.