how to close waitbar

35 visualizzazioni (ultimi 30 giorni)
FIR
FIR il 1 Nov 2011
Commentato: Royi Avital il 25 Set 2014
I have a waitbar running ,it doesnot close automatically,now i dontwant that waitbar to run,can u tell how to process please

Risposta accettata

Walter Roberson
Walter Roberson il 1 Nov 2011
If you have a waitbar that you are finished with, close() its handle. The handle can be returned when you first create the waitbar:
h = waitbar(x,'message');
then you would close(h) when you are done with it.
  1 Commento
Royi Avital
Royi Avital il 25 Set 2014
I think you should delete it instead of closing it as suggested in:

Accedi per commentare.

Più risposte (1)

Bjorn Gustavsson
Bjorn Gustavsson il 1 Nov 2011
If you don't want it to run period, just edit the function that creates it and comment out all instances of waitbar. If you want to fancify it make the waitbar optional.

Categorie

Scopri di più su Dialog Boxes in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by