Question: How to Read multiple CSV tables?

2 ビュー (過去 30 日間)
Murilo Andrade
Murilo Andrade 2019 年 12 月 2 日
回答済み: Sean de Wolski 2019 年 12 月 2 日
Hi,
I have different log files and I'd like to read the tables at the same time. They're named as "sess0(n)_log001_sensor_accel_1". After this, I'd like to put them on array to plot different data.
Thank you.
Murilo.
  3 件のコメント
Murilo Andrade
Murilo Andrade 2019 年 12 月 2 日
Hi,
thanks for your help!
My files are named as shown below:
question.jpg
Turlough Hughes
Turlough Hughes 2019 年 12 月 2 日
Can you provide a sample file?

サインインしてコメントする。

回答 (1 件)

Sean de Wolski
Sean de Wolski 2019 年 12 月 2 日
ds = datastore('sess*')
% Manipulate properties of datastore as necessary (variable names, types, selected)
T = readall(ds)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by