How to read multiple CSVs files
13 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm new in matlab.
I've 10 CSV files, I want to read them all in one sheet so I can calculate the min/max values from coloumn 10&11
I tried this code, and I thought to repeat it for all files:
D1 = csvread('Driver1.csv');
disp(D1);
but I got this error:
Index exceeds the number of array elements (13)
回答(2 个)
madhan ravi
2019-1-11
编辑:madhan ravi
2019-1-11
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - sprintf() does the trick.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!