Improved relativepath.m

版本 1.0.0.0 (2.2 KB) 作者: Ken Chatfield
Convert a path to a relative path
624.0 次下载
更新时间 2013/4/11

查看许可证

Updated version of Jochen Lenz' relativepath.m for finding the relative path of a directory or filename relative to another (absolute) path.

The following improvements have been made over the original submission:

* More system agnostic – uses case-sensitive filenames when running under Linux/OSX
* Now supports input filenames as well as paths

引用格式

Ken Chatfield (2024). Improved relativepath.m (https://www.mathworks.com/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. 检索时间: .

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

参考作品: relativepath.m

Community Treasure Hunt

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

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