How to close UIAlert in AppDesigner by command?
4 次查看(过去 30 天)
显示 更早的评论
I want to show some prompt message before dealing with a large data, after that I want to close it automatically without user's click action.
How to do that?
Thanks!
0 个评论
采纳的回答
Rohith Nomula
2020-6-27
You can use message box tool in the base code itself
h = msgbox('Please Wait ...you are dealing with large data', 'Processing');
onCleanup(@()delete(h));
Under the condition when you are dealing with large data add this code
The onCleanup command here deletes the message box.
3 个评论
Rohith Nomula
2020-6-27
However all the tools like msgbox(), errordlg(), warndlg() and uialert() comes with different sorts of issues
As of R2020a MATLAB doesn't offer any customization for these tools default or existing UI.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!