Overwrite Existing Text File with Updated Data

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by