Debugging - ODE solver freezing
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Torsten
2016-7-7
Why not including print-statements in the function where you define your equations ?
Best wishes
Torsten.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!