Inhibit Matlab Window Focus Stealing

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_current_figure(h) set(0,’CurrentFigure’,h) Then, all of the figure(h) statements need to be changed to change_curent_figure(h). Note, this is included in … Read more