realpath

バージョン 1.0.0.0 (1.46 KB) 作成者: M MA
Absolute pathname.
ダウンロード: 2.1K
更新 2005/10/10

ライセンスの表示

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

引用

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

MATLAB リリースの互換性
作成: R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFile Name Construction についてさらに検索
謝辞

ヒントを与えたファイル: realpath

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0