Text file modification (remove blank line)
Ältere Kommentare anzeigen
I've a text file like this:
[TITLE]
-> blank line (I want remove) <-
[JUNCTIONS]
;ID Elev Demand Pattern
1 60 4 ;
2 40 4 ;
3 20 2 ;
4 40 0 ;
-> blank line (I want remove) <-
[RESERVOIRS]
;ID Head Pattern
5 100 ;
-> blank line (I want remove) <-
[TANKS]
;ID Elevation InitLevel MinLevel MaxLevel Diameter MinVol
-> blank line (I want remove) <-
[PIPES]
;ID Node1 Node2 Length Diameter Roughness
I have to remove blank line. Can someone help me?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Scopes and Data Logging finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!