필터 지우기
필터 지우기

Add new data into existing mat file

조회 수: 306 (최근 30일)
Hazel Sialongo
Hazel Sialongo 2016년 9월 28일
댓글: Stephen23 2021년 8월 25일
How to add new data in the existing mat file?

채택된 답변

Stephen23
Stephen23 2016년 9월 28일
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
Abhishek Kumar
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by