How to close UIAlert in AppDesigner by command?

조회 수: 2 (최근 30일)
ZHIQIANG LIU
ZHIQIANG LIU 2020년 6월 27일
댓글: ZHIQIANG LIU 2020년 6월 27일
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!

채택된 답변

Rohith Nomula
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
Rohith Nomula 2020년 6월 27일
Try this uialert it can also be integrated with the app designer
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.
ZHIQIANG LIU
ZHIQIANG LIU 2020년 6월 27일
Thank you Rohith, I have read the usage of uialert before that, the msgbox seems to be the only method to solve my issue.So sad...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by