Clear Filters
Clear Filters

Matlab focus stealing behaviour with versions >2020a

6 views (last 30 days)
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

Answers (1)

Animesh
Animesh on 16 May 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.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!