Improved relativepath.m

Convert a path to a relative path

您现在正在关注此提交

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 (2026). Improved relativepath.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: relativepath.m

类别

Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0