realpath

Absolute pathname.

現在この提出コンテンツをフォロー中です。

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 (2026). realpath (https://jp.mathworks.com/matlabcentral/fileexchange/8680-realpath), MATLAB Central File Exchange. に取得済み.

謝辞

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

カテゴリ

Help Center および MATLAB AnswersFilename Construction についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0