To save a UI in GUIDE, use any of the following methods:
On the Layout Editor toolbar, click Save or Run .
On the Layout Editor menu bar, select the FileSave or Save as options
Note: GUIDE UIs cannot run correctly from a private folder.
FIG-files that are created or modified with MATLAB® 7.0 or a later MATLAB version, are not automatically compatible with Version 6.5 and earlier versions.
Perform these steps to make a FIG-file backward compatible:
From the Layout editor, select File > Preferences.
Select MATLAB > General > MAT-Files.
Select MATLAB Version 5 or later (save -v6)
If you save a GUIDE UI to an existing file, GUIDE displays a dialog box that asks you if you want to replace the existing FIG-file. If you click Yes, GUIDE displays a dialog that asks if you want to replace the existing code file or append to it. The most common choice is Replace.
If you choose Append, GUIDE
adds callbacks to the existing code file for components in the current
layout that are not present within it. Before you append the new components,
ensure that their
Tag properties do not duplicate
that appear in callback function names in the existing code file.