Import columns from a CSV by header name

I want to create a script to import a csv file, where the header is 3 rows, but the header does not start until the 8th row. I want to be able to search the csv file and pull out only the headers of interest. I typically have just edited the csv before import, but would rather not have that extra step.

 採用された回答

random09983492
random09983492 2016 年 2 月 2 日

0 投票

The csvread function is capable of doing what you want to do.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFiles and Folders についてさらに検索

質問済み:

2016 年 2 月 2 日

回答済み:

2016 年 2 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by