How to extract data from CSV that contains header

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일

1 개 추천

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일

0 개 추천

Thanks man. It worked As a Matlab newbie I don't think I could've done it alone.

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

질문:

2018년 10월 25일

답변:

2018년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by