Text file modification (remove blank line)
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Scopes and Data Logging en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!