How to extract data from CSV that contains header

2 ビュー (過去 30 日間)
Abdelhakim Souit
Abdelhakim Souit 2018 年 10 月 25 日
回答済み: Abdelhakim Souit 2018 年 10 月 25 日
Could someone tell me how to extract data from my csv file. I tried EVERYTHING even erasing the header manually (which is not a good solution as many of these files are generated automatically) and Matlab still don't want to extract the data I need.

採用された回答

Kevin Chng
Kevin Chng 2018 年 10 月 25 日
編集済み: Kevin Chng 2018 年 10 月 25 日
Hi,
The easiest solution is drag your excel file and drop it in MATLAB command window. Then a data import apps will be pop out. From there, simple to select the range and data type you want to import into MATLAB.
I have attached a script for you to import your data, remember to change the path of your file in the first line.

その他の回答 (1 件)

Abdelhakim Souit
Abdelhakim Souit 2018 年 10 月 25 日
Thanks man. It worked As a Matlab newbie I don't think I could've done it alone.

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by