Create a pop-up meesage
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 15 Jul. 2013
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 Kommentare
Azzi Abdelmalek
am 15 Jul. 2013
Bearbeitet: Azzi Abdelmalek
am 15 Jul. 2013
h=msgbox('your message')
When the process is done
delete(h)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!