ABSOLUTEPATH returns the absolute path relative to a given startpath.
The startpath is optional, if omitted the current dir is used instead.
Both argument must be strings.
Syntax:
abs_path = ABSOLUTEPATH( rel_path, start_path )
Cite As
Jochen Lenz (2024). absolutepath.m (https://www.mathworks.com/matlabcentral/fileexchange/3857-absolutepath-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Filename Construction in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Coverage Report Generator, absolutepath
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | was wrong file |