Extract a Column from a large csv file

1 次查看(过去 30 天)
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'

回答(1 个)

dpb
dpb 2021-3-30
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.

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by