You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Improved relativepath.m (https://uk.mathworks.com/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: relativepath.m
General Information
- Version 1.0.0.0 (2.18 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
