How to find the location of a file?

19 ビュー (過去 30 日間)
Mehdi
Mehdi 2013 年 8 月 23 日
Hello, I need to be able to find the location of a an m.file and its full path (directory) by typing its name in the command window or programmatically. Is there any function that can do that? Thanks!

採用された回答

the cyclist
the cyclist 2013 年 8 月 23 日
The which() command will do that.

その他の回答 (1 件)

Mehdi
Mehdi 2013 年 8 月 23 日
Thank you sir! It worked.

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by