You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). ODE Progress Bar and Interrupt (https://www.mathworks.com/matlabcentral/fileexchange/9904-ode-progress-bar-and-interrupt), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (16.6 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Minor improvements made |
