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 (2025). realpath (https://www.mathworks.com/matlabcentral/fileexchange/8680-realpath), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Filename 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 |