realpath

Versione 1.0.0.0 (1,46 KB) da M MA
Absolute pathname.
2,1K download
Aggiornato 10 ott 2005

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R12
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su File Name Construction in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: realpath

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0