MATLAB: Does the large MAT file load as empty cell arrays

emptyfileMATLABoop

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?

Best 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.