window-management

Inhibit Matlab Window Focus Stealing

三世轮回 提交于 2019-11-26 19:28:08
问题 Is there a way to tell Matlab not to steal window focus (from an external editor) such as Emacs) upon graphical commands such as figure and plot . This would increase my productivity a lot because I often want to continue code development during data (re-)processing. 回答1: It is possible, the trick is to not use the figure statement, but to change the current figure directly. This will change the active plot without changing the focus. Typically I do something like this: function change