How to store large object without going out of memory?

2 views (last 30 days)
Hello,
I am working with very large objects (i.e. 20 matrices of dimension 2000x7x2000x350) which are full matrices (not possible to apply the sparse function). However, it looks like my computer doesn't have enough RAM to store them and MATLAB runs out of memory. Any idea on how I can deal with this problem?
Thanks

Answers (1)

Image Analyst
Image Analyst on 3 Sep 2021
Did you take a look at memmapfile()?

Community Treasure Hunt

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

Start Hunting!