best way to access past outputs within a function written for ode routines (like ode45)?

Hi everyone, any suggestion to save past valid outputs within a function written for ode routines considering this fact that ode routines may fail by integration and may call the function for previous time step?
tnx

Answers (0)

This question is closed.

Asked:

on 11 Jun 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!