How to read multiple CSVs files
조회 수: 14 (최근 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!