Azzera filtri
Azzera filtri

Matlab focus stealing behaviour with versions >2020a

6 visualizzazioni (ultimi 30 giorni)
Hello
I'm working constantly on matlab (macOS) and recently updated from version 2020a to 2021a. Prior to this change when running matlab and plotting figures, matlab was operating on long script and continued to pop new figures; but without taking the focus off other applications (works on 2016-2020a ; not tested 2021b). Since the update; new figures are displayed "above" the current working application (preventing me to work on other tasks while awaiting calculation finalization; each time I get back to write back in command window rather than on mails/word/googledocs etc...).
I know that this behavior could be supressed (apparently this was the case in my prior installations).... but how to proceed
(because of this, i volontarily downgraded back to 2020a....)
thanks in advance

Risposte (1)

Animesh
Animesh il 16 Mag 2024
Hi Fabien,
I understand that you are having trouble with MATLAB figures taking focus away from your other tasks.
You can try setting the visible property to 'off'. This will prevent MATLAB from stealing focus.
Example -
h = figure('Visible','off');
plot(rand(1,100));
set(h,'Visible','on');
To read more about it, please refer to the following link -
I hope I was able to help you.

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by