How do i make m file to ask me for the data file?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!