Extract a Column from a large csv file

1 Ansicht (letzte 30 Tage)
Kate Heidingsfelder
Kate Heidingsfelder am 30 Mär. 2021
Beantwortet: dpb am 30 Mär. 2021
how to extract a column from a csv file into matlab?
column is 'AD' or 'field.linear_acceleration.x'
file is 'forward_turn_and_back.csv'

Antworten (1)

dpb
dpb am 30 Mär. 2021
data=readmatrix('forward_turn_and_back.csv','range','AD:AD','NumHeaderLines',N);
You'll have to set N for the number of headerlines to skip.

Kategorien

Mehr zu Data Import and Export finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by