Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How to delete lines in several text files?

1 view (last 30 days)
Mahtab Moalemi
Mahtab Moalemi on 14 Jun 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I have several text files which I want to open and delete various lines within each. The lines I wan to delete contain three columns with number 99 and 88 in them:
380560.000000,6452200.000003,1.245243,0.016084,0.088406 380580.000000,6452200.000003,1.245445,0.011844,0.081165 380600.000000,6452200.000003,1.245647,0.007579,0.073911 380620.000000,6452200.000003,88.000000,88.000000,88.000000 380640.000000,6452200.000003,88.000000,88.000000,88.000000 380660.000000,6452200.000003,88.000000,88.000000,88.000000 380680.000000,6452200.000003,88.000000,88.000000,88.000000 380700.000000,6452200.000003,88.000000,88.000000,88.000000 380720.000000,6452200.000003,88.000000,88.000000,88.000000 380740.000000,6452200.000003,88.000000,88.000000,88.000000

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!