absolutepath

Computes absolute path from relative paths

You are now following this Submission

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 (2026). absolutepath (https://se.mathworks.com/matlabcentral/fileexchange/29768-absolutepath), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: absolutepath.m

Inspired: Coverage Report Generator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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