現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
Updated version of realpath by M MA using suggestions made on that file submission and additional testing. Works for Windows, may need some tweaks for Unix. Substantially faster than original version in testing.
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
引用
Anthony Corr (2026). realpath (https://jp.mathworks.com/matlabcentral/fileexchange/26360-realpath), MATLAB Central File Exchange. に取得済み.
謝辞
ヒントを得たファイル: realpath
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.0.0.0 |
