MATLAB: Does closing any open figures in MATLAB 7.0.1 (R14SP1) bring the focus to xterm on Mac

focusmacMATLABxterm

Whenever I close any open figures, MATLAB will bring the focus back to the xterm window instead of the MATLAB command window.

Best Answer

There is a bug in MATLAB 7.0.1 (R14SP1) in the way that MATLAB handles the focus of a window.
To work around this issue, minimize your xterm window to ensure that the command window will be the focus after closing your figures.