5 GUIDE Preferences and Options
Prompt to Save on Export
From the Layout Editor, when you select File > Export, a dialog box informs you of the
impending save and lets you choose whether or not you want to continue.
For more information on exporting a UI, see “Create Programmatic Files from GUIDE
Files” on page 7-4.
Backward Compatibility Preference
MATLAB Version 5 or Later Compatibility
UI FIG-files created or modified with MATLAB 7.0 or a later version are not
automatically compatible with Version 6.5 and earlier versions. GUIDE automatically
generates FIG-files, which are binary files that contain the UI layout information.
To make a FIG-file backward compatible, from the Layout Editor, select File >
Preferences > General > MAT-Files, and then select MATLAB Version 5 or later
(save -v6).
Note:The -v6 option discussed in this section is obsolete and will be removed in a future
version of MATLAB.
All Other Preferences
GUIDE provides other preferences, for the Layout Editor interface and for inserting code
comments. In the Preferences dialog box, click GUIDE to access these preferences.