is it possible to close popup using command!!

7 ビュー (過去 30 日間)
Vaibhav
Vaibhav 2014 年 1 月 19 日
コメント済み: Vaibhav 2014 年 1 月 21 日
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!!

採用された回答

Paul
Paul 2014 年 1 月 19 日
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 件のコメント
Vaibhav
Vaibhav 2014 年 1 月 21 日
Thank you very much for your useful suggestion!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by