ed

版本 1.0.0.0 (1.9 KB) 作者: Brett Shoelson
An alternate edit function that accommodates partial filename matches.
2.1K 次下载
更新时间 2005/3/18

查看许可证

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.

引用格式

Brett Shoelson (2024). ed (https://www.mathworks.com/matlabcentral/fileexchange/7177-ed), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0