absolutepath

Computes absolute path from relative paths
1.1K Downloads
Updated 12 Jan 2011

View License

Computes absolute path from relative paths. Works on windows and linux. Improves on absolutepath from Jochen Lenz (http://www.mathworks.com/matlabcentral/fileexchange/3857-absolutepath-m).

Cite As

Jonathan Karr (2024). absolutepath (https://www.mathworks.com/matlabcentral/fileexchange/29768-absolutepath), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Filename Construction in Help Center and MATLAB Answers
Acknowledgements

Inspired by: absolutepath.m

Inspired: Coverage Report Generator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

absolutepath/src/

absolutepath/src_test/+edu/+stanford/+covert/+util/

Version Published Release Notes
1.2.0.0

responding to Jan Simon's comments by greatly simplifying and speeding up by using java.io.File methods

1.1.0.0

Per Abel Brown's comments adding optional error checking for absolute path of directories that don't exist

1.0.0.0