ODE Progress Bar and Interrupt
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
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Minor improvements made |