Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: MAT file takes forever to save with big object array
Replies: 6   Last Post: Dec 6, 2012 2:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
J RP

Posts: 12
Registered: 6/23/08
Re: MAT file takes forever to save with big object array
Posted: Oct 14, 2012 7:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Same sort of problem here.

I can save a 4-D double array (initialized by zeros(k,l,m,n)) that ends up being 2612736000 bytes in about 1 minute. Then I try to save a structure with two fields--one field is a vector and another contains one or more .fit class objects--and it's only 184268260 bytes but takes literally hours and hours to save just a fraction of this struct variable and I end up killing the process because it takes longer to save the data than just generate it, even though it takes 3 hrs to generate it!

Why would this be the case? It makes little sense.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.