is it possible to close popup using command!!

17 Ansichten (letzte 30 Tage)
Vaibhav
Vaibhav am 19 Jan. 2014
Kommentiert: Vaibhav am 21 Jan. 2014
i have to close a gui popup after some time it appear.
my gui popup is :-
figure
t=uicontrol('style','text','string',' ','Position',[1 1 400 600]);
col=get(t,'foregroundcolor');
for n=1:10
set(t,'foregroundcolor',1-col,'backgroundcolor',col);
col=1-col;
pause(.3);
end
please suggest some method. Thank you!!

Akzeptierte Antwort

Paul
Paul am 19 Jan. 2014
If you want to close it immediately after it stops flashing you can add
close gcf
after the end. Or add a pause before this with your preferred close time.
  1 Kommentar
Vaibhav
Vaibhav am 21 Jan. 2014
Thank you very much for your useful suggestion!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by