I have two MATLAB windows open in dual displays on Mac OS X 10.9: the MATLAB Desktop and the MATLAB Editor. The Command Window is open on screen A, and the Editor is open on screen B. I am editing text in the Editor, but then use "Command+Tab" to switch to any program with a window on screen A (and no window on screen B).
When I return to MATLAB with "Command+Tab", the Command Window on screen A will have focus and the keyboard cursor will be active in the Command Prompt instead of the Editor.
I would like for the focus to return to the editor that was previously active. Is this possible in MATLAB?
Best Answer