ode15s, end if integration tolerance not met

1 visualización (últimos 30 días)
JeffR1992
JeffR1992 el 23 de Mayo de 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?

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by