how to close waitbar

I have a waitbar running ,it doesnot close automatically,now i dontwant that waitbar to run,can u tell how to process please

 采纳的回答

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 个)

Bjorn Gustavsson
Bjorn Gustavsson 2011-11-1

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Dialog Boxes 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by