How to stop, reset the variables and restart an ODE solver?
11 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 3 Apr 2019
Look at ballode and how it uses "events", and observe how it loops calls until the entire time is complete.
5 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!