ed
ed filename1 filename2 ...
Modified (shortcut) version of TMW's "Edit" function.
In this version, "unique partial matches" IN THE CURRENT DIRECTORY are treated as successes.
For example, if the current directory contains files called testformat.m, cssm.m, and workinprog.m, typing 'ed tes cs work' will suffice to launch the targeted mfiles in the editor as long as the partial matches are locally non-ambiguous. (If another file called 'tesselations.m' also exists in the current directory, no action will be taken for the first input argument.) Exact filename matches for files anywhere on the ML path will work just as if 'edit' were typed instead.
I use this function to the exclusion of edit now; it is a very handy little shortcut.
Cite As
Brett Shoelson (2025). ed (https://www.mathworks.com/matlabcentral/fileexchange/7177-ed), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |