how to close waitbar

30 Ansichten (letzte 30 Tage)
FIR
FIR am 1 Nov. 2011
Kommentiert: Royi Avital am 25 Sep. 2014
I have a waitbar running ,it doesnot close automatically,now i dontwant that waitbar to run,can u tell how to process please

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 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 Kommentar
Royi Avital
Royi Avital am 25 Sep. 2014
I think you should delete it instead of closing it as suggested in:

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 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.

Kategorien

Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by