Question: How to Read multiple CSV tables?

조회 수: 1 (최근 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 CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by