I have a question regarding a dbquit call from the UI thread. We are doing the following: We launch a gui where some parameters can be entered and then the calculation can be started by pressing a start button. Further there is an abort button which when pressed stops the calculation. Now the problem is when we debug our calculation. Let's say we have hit a break point in the calculation. In the abort callback function we call: dbquit('all');
The versions R2014a and before worked as expected, i.e. it quitted the debug mode. Since R2014b and still in R2016b Matlab prints the following error message:
Error using dbquit Debug commands only allowed when stopped in debug mode.
Error in gui>button_abort_call (line 389) dbquit('all');
Error while evaluating UIControl Callback
And the debug session is still running. Is there a possibility to stop all debug sessions from the UI thread in Matlab R2016a?
Thank you very much.