bio_img_videos

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

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected

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

      |
      • print

      评论

      要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。

      Loading...