timed waitbar

A progress bar in a single line of code with ETA
303 descargas
Actualizado 8 abr 2016

Ver licencia

waitbar with ETA, Estimated Time of Arrival...
Usage: h=timedwaitbar(fraction_complete[,infostring])
Fraction: is a number between 0 and 1. a value of 1 means completed and closes the window.
h: window handle.

some nice features:
* Estimates how much time before completion.
* Automatically open and close the waitbar window.
- It closes the window when fraction reaches 1
* You can abort the program by closing the progressbar

example use:

for ii=1:1000
timedwaitbar(ii/1000)
q=isprime(ii+1000:10000);
end

Citar como

Aslak Grinsted (2024). timed waitbar (https://www.mathworks.com/matlabcentral/fileexchange/32413-timed-waitbar), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Dialog Boxes en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

fixed bugs, changed appearance