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

1 回表示 (過去 30 日間)
Al Dente
Al Dente 2015 年 5 月 27 日
コメント済み: Al Dente 2015 年 5 月 27 日
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 日
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 件のコメント
Al Dente
Al Dente 2015 年 5 月 27 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by