How to read multiple csv files in a single loop?
3 views (last 30 days)
Show older comments
Pankaj Dey
on 15 Apr 2017
Commented: Walter Roberson
on 1 Jun 2018
I have 63 csv files each of size 20454 x 8. They are named as 1.csv, 2.csv,..., 63.csv, note .csv is the extension. I want to read all the file in a single loop. How to code it?
2 Comments
Accepted Answer
Image Analyst
on 15 Apr 2017
Two different ways are detailed in the FAQ http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F. Pick one and use it.
2 Comments
Walter Roberson
on 1 Jun 2018
Khushi Bhatti, please explain your needs in more detail, preferably as a new Question.
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!