Borrar filtros
Borrar filtros

Matlab focus stealing behaviour with versions >2020a

6 visualizaciones (últimos 30 días)
Fabien Lombard
Fabien Lombard el 29 de Abr. de 2021
Respondida: Animesh el 16 de Mayo de 2024
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

Respuestas (1)

Animesh
Animesh el 16 de Mayo de 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.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by