how to change a line in text file?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eltigani hamad
el 5 de Jun. de 2014
Comentada: Cedric
el 5 de Jun. de 2014
Hi i have the following text file:
- *
- * STEP: Step-1
- *
- * *Step, name=Step-1
- * *Static
- * 1., 1., 1e-05, 1.
- *
- * BOUNDARY CONDITIONS
- *
- * Name: BC-1 Type: Symmetry/Antisymmetry/Encastre
- * *Boundary
- * Set-1, ENCASTRE
- *
- * LOADS
- *
- * Name: Load-1 Type: Pressure
- * *Dsload
- * Surf-1, P, 20
i would like to change no (20) on last line with matlab. how i can do that
1 comentario
Cedric
el 5 de Jun. de 2014
Is it always the last line? Is the text before this 20 always 'Surf-1, P,'?
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!