ed

An alternate edit function that accommodates partial filename matches.
2,1K téléchargements
Mise à jour 18 mars 2005

Afficher la licence

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.

Citation pour cette source

Brett Shoelson (2025). ed (https://www.mathworks.com/matlabcentral/fileexchange/7177-ed), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Search Path dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0