how to save a struct

14 views (last 30 days)
Jian Li
Jian Li on 4 Apr 2011
Is there a error in the following : "save('Mat/multiSVMTrain.mat','-struct', 'multiSVMStruct');"
It have run so long time and i had to give up! What's wrong with it?

Answers (1)

Walter Roberson
Walter Roberson on 4 Apr 2011
That looks appropriate. How big are your variables? If your structures are more than 2 Gb then it would need to use the new HDF5 based format, which can take a long time to save.

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!