Extract a Column from a large csv file

조회 수: 1 (최근 30일)
Kate Heidingsfelder
Kate Heidingsfelder 2021년 3월 30일
답변: dpb 2021년 3월 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