edit
Edit or create file
Description
edit opens a new file called Untitled.m in
the Editor. MATLAB® does not automatically save Untitled.m.
edit opens the specified file in the Editor. If
filefile does not already exist, MATLAB asks if you want to create it. file can include a
partial path, complete path, relative path, or no path. If file
includes a partial path or no path, edit will look for the file
on the search path. You must have write permission to the path to create
file. Otherwise, MATLAB ignores the argument.
You must specify the extension to open .mdl files. Editing MAT-files and
binary files such as P-code files and MEX-files is not supported using the
edit function.
Examples
Input Arguments
Version History
Introduced before R2006a