hi, please how can I create a question dialog to leave the interface when I click in the red button .thank you for help
1 view (last 30 days)
MBD4FUN on 8 Apr 2016
Edited: MBD4FUN on 8 Apr 2016
Is this what you want? (note: different look and feel for Windows OS)
button = questdlg('Are you sure to quit?','Question','Yes','No','No');
A similar example is also provided by the Matlab help documentations. Have a look at it by typing "help quit" and hit enter at the Matlab Command Window. Sometimes do a little research by using the Matlab help documents could solve many problems.