is it possible to close popup using command!!
11 次查看(过去 30 天)
显示 更早的评论
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!!
0 个评论
采纳的回答
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!