is it possible to close popup using command!!

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일

1 개 추천

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

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

질문:

2014년 1월 19일

댓글:

2014년 1월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by