Read the data from specific line in MATLAB
2 次查看(过去 30 天)
显示 更早的评论
I have sequence of data files(".tab" files) with more than 11100 rows and 236 columns. Data begins from 297th line in one file and from 299th line in another file. How can I read the data from 297th row and 2nd column upto the end of each file?
0 个评论
回答(1 个)
Grzegorz Knor
2017-7-11
2 个评论
Grzegorz Knor
2017-7-12
There is a fscanf function. But it is much easier to use Import Tool and generate code. Then you can use only code without Import Tool.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!