
Saving a GUI
7-9
6 If you chose Yes in the previous step, GUIDE displays a dialog that asks if
you want to replace the existing M-file or append to it. If you choose
Append,
GUIDE adds callbacks to the existing M-file for components in the current
layout that are not present in the existing M-file. Before you append the new
components, ensure that their
Tag properties do not duplicate Tag values
that appear in callback function names in the existing M-file. See “Assigning
an Identifier to Each Component” on page 6-24 for information about
specifying the
Tag property. See “Naming of Callback Functions” on
page 8-11 for more information about callback function names.
7 After you save the files, GUIDE opens the GUI M-file in your default editor.
If you elected to run the GUI, it also activates the GUI.
Saving an Existing GUI
Follow these steps if you are saving an existing GUI to its current location. See
“Saving a New GUI” on page 7-7 if you are using
Save as from the File menu.
1 If you have made changes to the GUI and choose to activate the GUI by
selecting
Run from the Tools menu or by clicking the Run icon on the
toolbar, GUIDE displays the following dialog box. Click
Yes to continue.
Comentários a estes Manuais