how do I "locate file on disk" using matlab?

The answer is system(['explorer /select,' fullfilepath_here])
question is: is there a matlab function that one can use instead of system?
I'm not talking about something like winopen(fileparts(filename)), this doesn't select the file for you it only opens a window.

답변 (1개)

Anthony Poulin
Anthony Poulin 2015년 5월 27일

0 개 추천

Hello,
I am not sure to really understand your question.
Is the "uigetfile" function that you are looking for?
This function opens a browser which allows you to find a file.
The function returns the path and the name of the chosen file.

댓글 수: 1

no the functionality that I'm looking for is exactly what happens when you run
system(['explorer /select,' fullfilepath_here])
I just wanted to know if there's a matlab function instead of using windows explorer with the /select flag.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

질문:

2015년 5월 27일

댓글:

2015년 5월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by