how to change a line in text file?
Show older comments
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 Comment
Cedric
on 5 Jun 2014
Is it always the last line? Is the text before this 20 always 'Surf-1, P,'?
Accepted Answer
More Answers (0)
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!