Code covered by the BSD License  

Highlights from
Improved relativepath.m

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 2.18 KB File ID: #41253

Improved relativepath.m

by

 

Convert a path to a relative path

| Watch this File

File Information
Description

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

Acknowledgements

Relativepath.M inspired this file.

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us