rows interval using textscan
2 次查看(过去 30 天)
显示 更早的评论
What is the equivalent of
xlsread('data.xlsx','B5:B10')
in the
textscan
?
3 个评论
采纳的回答
Guillaume
2019-6-24
The intent of the question is a bit unclear since textscan cannot parse excel files. If the intent is to parse a csv file, then both dlmread and csvread (which calls dlmread) accept a range.
In any case, it is very likely that parsing the text file would be a lot easier with readtable or readmatrix. The latter requires R2019a.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!