Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can I modify a part of my text file

1 Ansicht (letzte 30 Tage)
Izem
Izem am 7 Sep. 2020
Geschlossen: Rik am 8 Sep. 2020
Hello everyone,
I have a .dat file like in the picture and I would like to modify I3 values (the last column). I want to replace the values by (old values+Delta(m,n)) .
I can't use textscan since the beginning of the file has a different format. Do you have any idea on how can I do this ?
  11 Kommentare
Rik
Rik am 8 Sep. 2020
You need to get my readfile function from the FEX or with the add-on explorer. Did you do that?
Izem
Izem am 8 Sep. 2020
I don't know what FEX or add-on explorer mean, can you please just tell me how can I store data and write it back after using textscan as in my previous comment.
what you did last time : 'str=data{n};' was not working
So do you have any idea how can I do it ?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by