Info
This question is closed. Reopen it to edit or answer.
unable to open a file from a folder........help
1 view (last 30 days)
Show older comments
yourFolder ='C:\Users\Parag\Desktop\open\files';
dirListing = dir([yourFolder '/*.txt*']);
baseFileName = dirListing(1).name;
data=importdata(baseFileName)
set(handles.display2,'string',data);
files are:
0000.txt
0010.txt
0020.txt
0030.txt ...................................
10 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!