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: matlab gets more slowly throughout program
Replies: 4   Last Post: Sep 16, 2008 3:51 AM

Advanced Search

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

Posts: 32
Registered: 7/25/08
Re: matlab gets more slowly throughout program
Posted: Sep 15, 2008 11:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"M " <mhphy@gmx.net> wrote in message <galvvq$54c$1@fred.mathworks.com>...
> I have a program that mainly consists of three interleaved for-loops and and ode45 function in between them.
> When I start the program everything works fine but it becomes more slowly with every loop. At the beginning it works pretty fast but slows down pretty fast.
> I know that for-loops are slow in Matlab but how can the program become more and more slowly?
> All values that are saved for later use are written into a predefined matrix.
> I have no idea where to look for the problem.
> Thanks for any suggestions.



it seems the memory is overloading. Did you check the memory requirements during the program with taskmanager?



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.