Overwrite Existing Text File with Updated Data

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import and Export についてさらに検索

質問済み:

2019 年 12 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by