MATLAB: Can I return focus to the previously open MATLAB window when using “Command+Tab” in dual display setup on Mac OS X 10.9 Mavericks

10.9"displaydualfocusmacMATLABosx

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

No, this is not possible. How applications receive focus is determined by the OS, and the same behavior is observed for any program with multiple windows open on both displays. MATLAB has no control over this.