The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Large saved files
Replies: 5   Last Post: Aug 8, 2012 9:21 AM

Advanced Search

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

Posts: 456
Registered: 12/6/04
Re: Large saved files
Posted: Aug 8, 2012 9:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Alexandra" wrote in message <ih1mnl$p56$>...

> First of all, I think, I found the main problem. Somewhere in the struct were the results of the ode solver (which is what I wanted), but one of those included the options of the solver, which in turn include the function handle. It seems, all my input data was saved with this function handle and therefore inflated my file size.

Alexandra, I can confirm the issue is due to function handles.
I wanted to save a 192KB structure, which resulted in a 1.1 GB file. I removed a single function handle from the structure, now the file is 165KB, even smaller than in RAM probably owing to compression.
Regards, Rene

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.