How do I import files from a folder one at a time
Show older comments
I have many files (>250) named '1.txt','2.txt',etc. If I'm reading them using
Filelist = dir('*.txt')
The information is getting altered in the program (I don't know how). So, I want to read files one by one. like
Filelist = dir('1.txt')
and so on... I can't figure out how to change the file name from 1.txt to 2.txt... after I have read the first file. Kindly help.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!