How do i make m file to ask me for the data file?

1 回表示 (過去 30 日間)
yc j
yc j 2015 年 6 月 15 日
コメント済み: yc j 2015 年 6 月 15 日
This should be simple, but I can't find the answers from the internet...
When I run a m-file, i want the file to open up the load tab and ask me to select any data file within the directory.
For example, I got 2 column data files a.txt, b.txt, c.txt and so on.... with 1st column of the data file being time and 2nd column being speed.
I wanna plot the data, but want the m-file to ask me which data file I want the data from.
What command should i use?

採用された回答

Stalin Samuel
Stalin Samuel 2015 年 6 月 15 日
  1 件のコメント
yc j
yc j 2015 年 6 月 15 日
thank you so much!!!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by