MATLAB Answers


Create a pop-up meesage

Asked by anahita
on 15 Jul 2013

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?



No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek
on 15 Jul 2013

You can create an Editbox and set it to invisible in the opening function


When the user select two pixel, set the Editbox1 to visible


At the end of the calculation add



on 15 Jul 2013

Thanks for the answer but I need a pop up message

Azzi Abdelmalek
on 15 Jul 2013
h=msgbox('your message')

When the process is done


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today