Help me about msgbox in Matlab GUI ?
33 views (last 30 days)
Nguyen Trong Nhan on 28 Dec 2013
I made a guide for my applet, now I create a message box by command:
h = msgbox('My physics applet is about to start,','MyApp');
In that msgbox, It have an OK button. Now I want that: when I press the OK button in the first msgbox, It 'll appear second message box.
thanks you very much
Image Analyst on 28 Dec 2013
Where does the second msgbox come from? What does it say? Do you need it to wait for the user to click OK in the first message box before continuing on with your code?
I usually do
uiwait(msgbox('whatever I want to say'));
but actually I've made a msgboxw() function as it's own m-file and saved it to a folder on my path.
Then I just call msgboxw('hello world') whenever I need a message box that displays and waits for me to click ok before barreling on with the code.