Create a pop-up meesage

I created a GUI, and there is a part that user selects 2 pixel and then the program take some time to proceed a function with the coordinates of those 2 points. I want to know how should I manage to have a message(while the program is processing) that tells the user that the program is doing some calculation and that he should wait and it disappears when the program is done with the process?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 7월 15일

1 개 추천

You can create an Editbox and set it to invisible in the opening function
set(handles.Editbox1,'visible','off')
When the user select two pixel, set the Editbox1 to visible
set(handles.Editbox1,'visible','on')
At the end of the calculation add
set(handles.Editbox1,'visible','off')

댓글 수: 2

anahita
anahita 2013년 7월 15일
Thanks for the answer but I need a pop up message
Azzi Abdelmalek
Azzi Abdelmalek 2013년 7월 15일
편집: Azzi Abdelmalek 2013년 7월 15일
h=msgbox('your message')
When the process is done
delete(h)

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

카테고리

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

질문:

2013년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by