How can I close my "waitbar" programmatically if I do not have handle to it?
26 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 16 Aug. 2018
Beantwortet: MathWorks Support Team
am 5 Sep. 2018
A function that I am using is opening a new waitbar everytime I open it:
>> waitbar(0,'Please wait...')
Since I will be calling this function repetitively from my script file, I will have a lot of these waitbar windows opened.
Adding the following to my script does not help:
>> close all
How can I close the "waitbar" windows programmatically?
Akzeptierte Antwort
MathWorks Support Team
am 16 Aug. 2018
You can use the "findall" function and 'TMWWaitbar' as the 'tag' input to get handles to all the waitbars:
>>F = findall(0,'type','figure','tag','TMWWaitbar')
and then delete all of them:
>> delete(F)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!