I have a system of 30 differential equations compiled to a DLL. I would like to know if there is an exit flag for ODE45 which can be returned as an output in case bad data is passed to the DLL and the algorithm fails to converge.
MATLAB: Does ODE45 return an exit flag in MATLAB 7.8 (R2009a)
Statistics and Machine Learning Toolbox
Best Answer