ode15s, end if integration tolerance not met

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by