newd

版本 1.0.0 (1.7 KB) 作者: Carl Witthoft
A "cd" replacement that allows use of tilde for home directory on Windows systems
2.0 次下载
更新时间 2022/5/26

查看许可证

newd(directory_string, long)
If the first arg contains '~' then a "home directory" will be substituted into the string. If 'long' is empty or zero, the replacement will be 'C:/users/yourusername' .
If 'long' is nonzero, the replacement will include the 'Documents' directory, which may be a OneDrive or whatever is identified in the Registry.
The code for the latter case is copied from https://www.mathworks.com/matlabcentral/fileexchange/15885

引用格式

Carl Witthoft (2024). newd (https://www.mathworks.com/matlabcentral/fileexchange/112280-newd), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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