필터 지우기
필터 지우기

Add to existing .mat files

조회 수: 2 (최근 30일)
Sean
Sean 2011년 7월 22일
Is there a way to add additional variables to an existing .mat file? If I save new variables to the same file it overwrites.
This came up because I have a situation where it would be convenient to have a single .mat file that holds more data than I can fit in the workspace at one time. Specifically, I want to have about 60 different 30MB uint8 arrays that I can load and process serially. (Given that I am using Windows XP 32bit, that is not going to fit in the workspace all at once to allow me to 'save' it.)
Note: I could do this with groups of .mat files, but that could get messy because I will be dealing with multiple sets of these arrays and I don't want to cross contaminate.
Thanks in advance, Sean

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2011년 7월 22일
-append should do the trick. Check for spelling with: help save.
HTH,

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by