I have a cell array in MATLAB. Each cell contains a struct. The structs do not have all the same fields.
The "who" command tells me that the size of the struct is about 100 megabytes.
I do a command: save('result.mat', 'mycellarray');
The resulting file "result.mat" is 9 gigabytes in size. A factor of 90 larger than the array size in the MATLAB workspace. Why is this? Any help in understanding this would be appreciated.
"Malcolm Lidierth" wrote in message <iqkaua$99v$1...@newscl01ah.mathworks.com>...
Do you have the HDF5-based version 7.3 as default MAT-file format (preferences -> General -> MAT-files)?
That format creates HUGE files from cells and structs.
"Pekka Kumpulainen" <pekka.nospam...@tut.please.fi> wrote in message <iqlg51$n6t$1...@newscl01ah.mathworks.com>...
"Tom" wrote in message <iqmjg5$2fj$1...@newscl01ah.mathworks.com>...
I have -v7 as default at the moment. Just try out and see what happens.