Overwrite Existing Text File with Updated Data

3 Ansichten (letzte 30 Tage)
Chad
Chad am 4 Dez. 2019
Dear Community,
My goal is to overwrite an existing text file with updated data. For example, my existing file looks like this
Val_11 Val_12 Val_13 Val_14
Val_21 Val_22 Val_23 Val_24
... ... .... .... ... ... ....
Val_mn Val_mn Val_mn Val_mn
Several times I need to re-evaluate the data from line Val_21 Val_22 Val_23 Val_24]. Is there a way to just open the file, search for this row and change the values without having to re-analyze all the exisitng values? Is using SQL a better approach? Any help is appreciated.
CJ

Antworten (0)

Kategorien

Mehr zu Data Import and Export finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by