realpath

Version 1.0.0.0 (1,46 KB) von M MA
Absolute pathname.
2,1K Downloads
Aktualisiert 10. Okt 2005

Lizenz anzeigen

Resolves relative paths and extra filesep characters in the input.

Syntax:
OUTPUT = REALPATH(THEPATH)

where THEPATH is the path to a file or folder, which should exist.

Example:
realpath('../myfile.txt');
% returns /home/user/whatever/myfile.txt

Zitieren als

M MA (2024). realpath (https://www.mathworks.com/matlabcentral/fileexchange/8680-realpath), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu File Name Construction finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: realpath

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0