Effacer les filtres
Effacer les filtres

Matlab focus stealing behaviour with versions >2020a

5 vues (au cours des 30 derniers jours)
Fabien Lombard
Fabien Lombard le 29 Avr 2021
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

Réponses (1)

Animesh
Animesh le 16 Mai 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.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by