필터 지우기
필터 지우기

How to find the location of a file?

조회 수: 28 (최근 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 CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by