ODE Progress Bar and Interrupt

ODE integration progress bar, interrupt control and estimated time to completion
2,2K Downloads
Aktualisiert 19. Mai 2006

Keine Lizenz

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R14SP2
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Minor improvements made