How can I get the filename of a running script
24 ビュー (過去 30 日間)
古いコメントを表示
Matlab script
0 件のコメント
採用された回答
Dimitris Kalogiros
2018 年 9 月 25 日
編集済み: Dimitris Kalogiros
2018 年 9 月 25 日
For example, you can include into your m-file the following command:
myName= mfilename
Then variable myName, will contain a string with the name of the file.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!