How to extract data from CSV that contains header
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!