ODE Progress Bar and Interrupt

ODE integration progress bar, interrupt control and estimated time to completion
2.2K Downloads
Updated 19 May 2006

No License

This program displays a progress bar indicating where the ode integrator is in the specified time scale. The program allows the premature termination of an integration without loss of data. Ellapsed time and estimated time to completion are displayed below the integration bar.

This is very simple to add to existing code. Simply add the following to your ode options:
('OutputFcn',@odeprog,'Events',@odeabort)
and place the two files in the same directory as the running program.

A progress bar will display on the far left of your screen. Pressing the 'ABORT' button prematurely exits the integration while retaining the data up to the point of termination.

An example implementation is included with the program (main.m)

Jesse Norris contributed to this work.

Cite As

Tim Franklin (2024). ODE Progress Bar and Interrupt (https://www.mathworks.com/matlabcentral/fileexchange/9904-ode-progress-bar-and-interrupt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Minor improvements made