Add new data into existing mat file
조회 수: 306 (최근 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에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!