Add new data into existing mat file
351 次查看(过去 30 天)
显示 更早的评论
How to add new data in the existing mat file?
0 个评论
采纳的回答
Stephen23
2016-9-28
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 个评论
Abhishek Kumar
2021-8-25
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
2021-8-25
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!