Improved relativepath.m
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
Cite As
Ken Chatfield (2024). Improved relativepath.m (https://www.mathworks.com/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: relativepath.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |