Effacer les filtres
Effacer les filtres

How to display the calcution process with progress bar?

22 vues (au cours des 30 derniers jours)
Kesni savitri
Kesni savitri le 27 Mai 2013
I make my task with GUI, and to display the result i wait until 1 minute. to monitoring the program running periode , i want make progress bar. How to display the calcution progress with progress bar?

Réponse acceptée

David Sanchez
David Sanchez le 27 Mai 2013
Is this what you are looking for?
h = waitbar(0,'Please wait...');
steps = 1000;
for step = 1:steps
% computations take place here
waitbar(step / steps)
end
close(h)
Adapt it to your needs

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by