MATLAB Answers

0

How to read multiple CSVs files

Asked by zubaydh kenkar on 11 Jan 2019
Latest activity Answered by Jeremy Hughes on 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)

Tags

2 Answers

Answer by madhan ravi
on 11 Jan 2019
Edited by madhan ravi
on 11 Jan 2019

  0 Comments

Sign in to comment.


Answer by Jeremy Hughes on 11 Jan 2019

I'd try tabularTextDatastore.

  0 Comments

Sign in to comment.