Improved relativepath.m
Version 1.0.0.0 (2,18 ko) par
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
Citation pour cette source
Ken Chatfield (2026). Improved relativepath.m (https://fr.mathworks.com/matlabcentral/fileexchange/41253-improved-relativepath-m), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2012b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : relativepath.m
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
