Debugging - ODE solver freezing
Ältere Kommentare anzeigen
Hi everyone,
I am solving a set of stiff ODEs using ODE23s and it is taking a really long time. By a really long time, I mean hours! I'm hoping there is a way to watch the iterations in the ODE solver as they happen so that I can modify the parameters to speed things up.
Any help on how to do this or what may speed it up would be greatly appreciated.
Thanks, Josh
3 Kommentare
Jan
am 6 Jul. 2016
Please post any details of the problem. Perhaps your system is huge, or you defined a tiny tolerance. Maybe the function to be integrated is not smooth or programmed unefficiently.
Torsten
am 7 Jul. 2016
Why not including print-statements in the function where you define your equations ?
Best wishes
Torsten.
Antworten (0)
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!