Reading few lines from a text file
2 次查看(过去 30 天)
显示 更早的评论
I have a text file and I want to read first 10 lines from that file.I tried scantext but not successful.
Can anyone suggest?
5 个评论
Jan
2012-11-30
[MOVED from answer section] Vishal Rane wrote:
Post your comments in the comments sections only. Not many of us bother opening a thread that already has a couple of answers.
Comment back in case of any doubts.
Jan
2012-11-30
@Shalini: Whenever you post the term "I tried...", post the corresponding code and the occurring problems also. Otherwise we cannot give an advice for improvements.
另请参阅
类别
在 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!