How can I search in my computer for some txt files inside GUI?
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.
精彩评论