Stuart’s MATLAB Videos

Watch and Learn

Using a MAT-File Object to Save a Variable in Chunks

I need to save a 50GB string variable to a MAT file. I have noticed that when I use the save command, memory usage is increased temporarily, perhaps while making a copy of the variable. To minimize the peak amount of memory I need, I’m going to break up the variable and try to save it in chunks using the MAT file object, which I have not used before.

Features covered in this code-along style video include:

  • matfile
  • save

Play the video in full screen mode for a better viewing experience. 

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.