ode15s, end if integration tolerance not met

1 vue (au cours des 30 derniers jours)
JeffR1992
JeffR1992 le 23 Mai 2017
I have a process that uses ode15s thousands of times to solve a system of differential equations with various initial conditions, however, occasionally I get an error such as the following: "Warning: Failure at t=5.054301e+02. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (9.094947e-13) at time t.". This unfortunately brings the program to a halt, and as such, I was wondering if there is a way to catch such an error and force ode15s to end its processing so that the program can continue on. Does such a function exist?

Réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by