How to read multiple CSVs files

14 Ansichten (letzte 30 Tage)
zubaydh kenkar
zubaydh kenkar am 11 Jan. 2019
Beantwortet: Jeremy Hughes am 11 Jan. 2019
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)

Antworten (2)

madhan ravi
madhan ravi am 11 Jan. 2019
Bearbeitet: madhan ravi am 11 Jan. 2019

Jeremy Hughes
Jeremy Hughes am 11 Jan. 2019
I'd try tabularTextDatastore.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by