The csvread function is capable of doing what you want to do.
Import columns from a CSV by header name
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!