The last time this happened was only two days ago, and by pure coincidence a reader’s comment yesterday happened on the same page where I explained the problem and solution. The undocumented solution is frustratingly simple (see below), and yet I keep forgetting it.
Closing a modal dialog may hang Matlab Every now and then I stumble on a case where Matlab hangs, becomes totally unresponsive and requires me to kill the Matlab process externally (via the task manager).