Installation guide
Starting, Customizing, and C losing the Editor/Debugger
File > Preferences > Editor/Debugger and in the Most recently used
file list,specifytheNumber of entries.
• In the Editor/Debugger or another des ktop tool such as the Command
Window,selectafilename,right-click,andselectOpen Selection from
the context menu to open that file. For details, see “Opening a Selection
in an M-File” on page 6-48.
• Set a preference that instructs MATLAB, upon startup, to automatically
open the files that were open when the previous MATLAB session ended.
Select File > Preferences > Editor/Debugger and in the Openin g files
in editor area, select the check box for On restart reopen files from
previous MATLAB session.
Function Alternative for Opening an M -File. Use the
edit or open
function to open an existing file in the Editor/Debugger. For exam ple, ty pe
edit collatz.m
to open the file collatz.m in the Editor/Debugger, where collatz.m is on the
search path or in the current directory. Use the relative or absolute pathname
for the file you want to open if i t is not on the search path o r in the current
directory.
Arranging Editor/Debugger Documents
Yo u can arrange the size and location of M-files and other text documents you
open in the Editor/Debugger. Editor/Debugger documents follow the same
arrangement practices as other desktop documents. For details, see “Opening
and Arranging Documents” on page 2-8.
Preferences for the Editor/Debugger
Using preferences, you can specify the default behavior for various aspects of
the Editor/Debugger.
To set preferences for the Editor/Debugger, select File > Preferences.The
Preferences dialog b ox opens showi ng Editor/Debugger P references.
6-11