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: 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 " <> wrote in message <galvvq$54c$>...
> 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]

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