how to close waitbar

138 views (last 30 days)
FIR
FIR on 1 Nov 2011
Commented: Royi Avital on 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

Accepted Answer

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

Sign in to comment.

More Answers (1)

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

Categories

Find more on Dialog Boxes in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!