Early exit instead of a warning in ODE113?
Afficher commentaires plus anciens
While running a code that uses ODE113, the program will run, possibly indefinitely, until manually paused. Once paused, the error "Unable to meet integration tolerances without reducing the
step size below the smallest value allowed" appears.
Is there a way to tell ODE113 to generate an error instead of a warning (or something else that would stop the code), so the program won't be stuck in futile calculation?
Réponse acceptée
Plus de réponses (1)
Jan
le 6 Sep 2021
0 votes
In the current version of Matlab ODE113 does stop, when the integration tolerance is not met. The warning is shown an the integration is stopped. This means, that the code does already, what you want.
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!