How to stop, reset the variables and restart an ODE solver?
13 次查看(过去 30 天)
显示 更早的评论
I am trying to solve a system of equations in which I want to stop the solver at certain t-values, reset the value of depenedent variables, and restart the solver. Is there an example that I can look at and try to mimic?
0 个评论
回答(1 个)
Walter Roberson
2019-4-3
Look at ballode and how it uses "events", and observe how it loops calls until the entire time is complete.
另请参阅
类别
在 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!