Desktop Tools and Development Environment Previous page   Next Page

Autosave Preferences for the Editor/Debugger

Select File -> Preferences -> Editor/Debugger -> Autosave to specify these preferences for the Editor/Debugger's autosave feature.

Autosave On

The Editor/Debugger automatically saves a copy of the current version of the file you are editing. Clear this check box if you do not want the Editor/Debugger to automatically save the copy.

Save Options

Save every n minutes.   Specify how often you want the Editor/Debugger to automatically save a copy of the file you are editing.

Save untitled files.   Select this check box if you want the Editor/Debugger to automatically save a copy of new files that you have not yet saved, which are therefore untitled. If selected, the first autosave file is Untitled.asv. If the directory already contains a file named Untitled.asv, the autosave file is named Untitled2.asv, and so on for additional unnamed files.

If the autosave feature creates Untitled.asv and you subsequently save the file as filename.m, the next autosave version is filename.asv. Untitled.asv remains until you delete it.

Close Options

Automatically delete autosave files.   With this preference selected, MATLAB deletes the autosave file when you close the source file in the Editor/Debugger.

Filename

Specify the extension used for autosave files. The default setting for Windows platforms is the extension.asv (for autosave), making the autosave file filename.asv. For Windows and UNIX platforms, you can select Replace extension with and specify any extension.

For UNIX platforms, the default is Append file with the tilde (~) character, making the autosave file filename.m~. For Windows and UNIX platforms, you can select Append file with and specify a different string to append to the file.

Location

Specify the location for autosave files. By default, each autosave file is stored in the same directory as the source file, that is, the file you are editing. You can specify a single directory for all autosave files, such as a directory you create called autosave_files. For the Editor/Debugger to create an autosave file, you must have write-permission for the specified location.


Previous page  Publishing Images Preferences for the Editor/Debugger See Also Next page

© 1994-2005 The MathWorks, Inc.