Improved relativepath.m
Version 1.0.0.0 (2,18 KB) von
Ken Chatfield
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
Zitieren als
Ken Chatfield (2026). Improved relativepath.m (https://de.mathworks.com/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu File Operations finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: relativepath.m
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
