How to read multiple CSVs files

13 ビュー (過去 30 日間)
zubaydh kenkar
zubaydh kenkar 2019 年 1 月 11 日
回答済み: Jeremy Hughes 2019 年 1 月 11 日
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
madhan ravi 2019 年 1 月 11 日
編集済み: madhan ravi 2019 年 1 月 11 日

Jeremy Hughes
Jeremy Hughes 2019 年 1 月 11 日
I'd try tabularTextDatastore.

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by