Add new data into existing mat file
300 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hazel Sialongo
il 28 Set 2016
Commentato: Stephen23
il 25 Ago 2021
How to add new data in the existing mat file?
0 Commenti
Risposta accettata
Stephen23
il 28 Set 2016
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 Commenti
Abhishek Kumar
il 25 Ago 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.
Stephen23
il 25 Ago 2021
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!