Code covered by the BSD License  

Highlights from
Text progress bar for ODEs

4.0

4.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 2.32 KB File ID: #28509
image thumbnail

Text progress bar for ODEs

by David Romero-Antequera

 

19 Aug 2010

A simple text/console progress bar for the builtin ODE solvers

| Watch this File

File Information
Description

If you're like me and have to run some ODE solvers in remote computers via telnet/ssh, you will find this simple output function very handy.

It just prints a progress bar in the console according to the status of the ODE. At the end of the computation prints the time between the initialization of the ODE solver and termination.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
ODE wait bar

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
11 Oct 2010 Justin A

Great function to let you know the integrator's progress. The best feature is it's simplicity.
It appears that the demo file wasn't included in this zip file, but it's very simple to use, just add it as an output function in the odeset command. Here's an example:
      ops = odeset('OutputFcn',@odetpbar);
      [t,y] = ode45(@DiffEqns,Timespan,InitConditons,ops);

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
ode David Romero-Antequera 19 Aug 2010 11:39:09
solver David Romero-Antequera 19 Aug 2010 11:39:09
text David Romero-Antequera 19 Aug 2010 11:39:09
progress David Romero-Antequera 19 Aug 2010 11:39:09
bar David Romero-Antequera 19 Aug 2010 11:39:09

Contact us at files@mathworks.com