How to stop, reset the variables and restart an ODE solver?
조회 수: 5 (최근 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.
댓글 수: 5
참고 항목
카테고리
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!