reading a complex text file
显示 更早的评论
Hi, I want to read a text file exactly as below, the file consists of 3 sections, that I copied the first lines from each section below. as you can see the 3rd section starts with a text line and this one line is the only string type of data in the text file. I cannot just delete it since this file is going to be read and written (after some change) in an iterative manner. I appreciate it if someone can help me with this.
1
0.00
1 5 4 180
2 5 4 180
3 5 3 180
1 1 32 5 4 1 4 0 0 0
4 1 1 3 7062 6493 16015
1 2 32 5 4 1 6493 0 0 0
6493 1 2 3 16015 4 7062
=======Two Way Stop Signs/Yield Signs Below =======
75 2 2
750 75 6186 75
76 75 6182 75
381 2 1
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Standard File Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!