Saving struct arrays to disk with 'save'

4 views (last 30 days)
Mathew Guilfoyle
Mathew Guilfoyle on 21 Mar 2013
I have a cell array of structs (spline bases created in the curve fitting toolbox) that takes up no more than half a Mb in RAM (workspace reads 424524 bytes). I want to save this to disk but using the standard Matlab 'save' command produces a file >5Gb (yes, gigabytes!) in size?!
Surely there is a bug with the save procedure for this datatype to be so inefficient? any workarounds?
Cheers

Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by