Installation guide

6 Editing and Debugging M-Files
There is a preference to Automatically delete autosave files.With
this preference selected, when you close an M -file in the Editor/Debugger,
MATLAB automatically deletes the corresponding autosave file.
Accessing Your Source Control System
If you use a source control system for M-files, you can access it from within
the Editor/Debugger using File > Source Control. For more inform ation,
see C hapter 9, “Source Control Interface”.
Printing M-Files
To print an entire M -file, select File > Print, or click the Print button on
the toolbar. To print the current selection, select File > Print Selection.
Complete the standard print dialog box that appears.
Specify printing options for the Editor/Debugger by selecting File > Page
Setup. For example, you can specify printing with a header. For more
information, see “Printing and Page Setup Options for Desktop Tools” on
page 2-52.
Closing M-Files
To close the current M-file, select Close filename from the File menu, or
click the Close box in the Editor/Debugger m enu bar. This is different from
the Close box in the titlebar of the E ditor/De bug ger, which closes all open
files in that Editor/Debugger window.
To close
all files within the Editor/Debugger, select Window > Close Editor
Documen
ts. This does not close any files undocked from the Editor/Debugger.
The Edit
or/Debugger remains open with no files in it.
6-64