realpath

Absolute pathname.

Sie verfolgen jetzt diese Einreichung

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 (2026). realpath (https://de.mathworks.com/matlabcentral/fileexchange/8680-realpath), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert: realpath

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0