Increased mat-file size with v7.3

4 views (last 30 days)
David Baitinger
David Baitinger on 7 Nov 2016
Commented: KSSV on 8 Nov 2016
Hi guys,
I am saving a Database in a mat-file. Now I'm at a point where Matlab suggests I should switch to v.73 because the file is too big or hast too many entries.
I switched it in my Code and run a test with a montly import. The file size now increased from 17MB to 620MB.
My Data is saved as a struct with some sub-strucures including cell arrays and double arrays.
I don't understand why my file gets so much bigger now. I thought compression was turned on by default on v7.3.
Are there any tipps what i should look after?
Here's my save code:
save(Data.mat,'Data','-v7.3');
Thanks for your help in advance!

Answers (1)

KSSV
KSSV on 7 Nov 2016
Edited: Walter Roberson on 7 Nov 2016
  3 Comments
David Baitinger
David Baitinger on 8 Nov 2016
Thank you guys for the links. I'm playing around with HDF5 Files now and hope this helps. So far it looks like a big impromevement over the original save as -v7.3 command but the files are still larger than with only the save command.
I have turned compression on. Is there anything else to look into?
KSSV
KSSV on 8 Nov 2016
There is option of Netcdf too....I feel Netcdf is more user friendly and easy.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!