Why does my large MAT file load as empty cell arrays?

I have a MAT file of 1 GB size but when loaded shows empty cell arrays?
If the cell arrays are empty why is the size 1 GB?

 Accepted Answer

The content inside the cell arrays is a MATLAB object of a certain class that you do not have the class definition for in your MATLAB path. MATLAB does not know how to load the data and, as a result, loads them as empty cell arrays.
Adding the class to your MATLAB path should resolve the issue.

More Answers (0)

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!