Question: How to Read multiple CSV tables?

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 Kommentare

Hey Murilo,
It would be worth posting one of the logs, assuming they are formatted the same, otherwise you should post a few logs (best include as an attachement in the original post if they are not too big). Also, are all the logs in the same folder and how do their names change? Presumably it goes something like this:
sess0(n)_log001_sensor_accel_1
sess0(n)_log002_sensor_accel_1
sess0(n)_log003_sensor_accel_1
? If you answer the above then you are much more likely to get an answer.
Murilo Andrade
Murilo Andrade am 2 Dez. 2019
Hi,
thanks for your help!
My files are named as shown below:
question.jpg
Turlough Hughes
Turlough Hughes am 2 Dez. 2019
Can you provide a sample file?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sean de Wolski
Sean de Wolski am 2 Dez. 2019

1 Stimme

ds = datastore('sess*')
% Manipulate properties of datastore as necessary (variable names, types, selected)
T = readall(ds)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Dez. 2019

Beantwortet:

am 2 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by