Filter löschen
Filter löschen

Add new data into existing mat file

306 Ansichten (letzte 30 Tage)
Hazel Sialongo
Hazel Sialongo am 28 Sep. 2016
Kommentiert: Stephen23 am 25 Aug. 2021
How to add new data in the existing mat file?

Akzeptierte Antwort

Stephen23
Stephen23 am 28 Sep. 2016
The save documentation gives this syntax:
save(filename,variables,'-append')
and describes it as " save(filename,variables,'-append') adds new variables to an existing file. If a variable already exists in a MAT-file, then save overwrites it. The variables argument is optional."
  11 Kommentare
Abhishek Kumar
Abhishek Kumar am 25 Aug. 2021
I have the same problem, I don't want it to overwrite either, I need to save multiple outputs from different run to the same file.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by