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
file
file
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 .mat
and .mdl
files. MATLAB cannot directly edit binary files, such as .p
and
.mex
files.
Examples
Input Arguments
Version History
Introduced before R2006a