开发者

How can I search in my computer for some txt files inside GUI?

开发者 https://www.devze.com 2023-02-13 00:47 出处:网络
I am using the Matlab Gui开发者_如何学运维de function in order to build an inteface with the user. Nevertheless, I need to read some arrays that are in 5 different txt files. I would like to run my gu

I am using the Matlab Gui开发者_如何学运维de function in order to build an inteface with the user. Nevertheless, I need to read some arrays that are in 5 different txt files. I would like to run my guide application, and using any command, start to search my computer and load these .txt files into my program. How could I easily do it?

Thanks in advance for your help.


I don't believe that there is a built-in function that will do that for you, so either you have to loop through some dir commands yourself or grab a file from MATLAB Central / File Exchange: e.g. DIRR or subdir.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号