How can I avoid the window-pop stoping me from another app in Mac

7 ビュー (過去 30 日間)
Ethan Tu
Ethan Tu 2022 年 8 月 22 日
回答済み: vamshi sai yele 2022 年 8 月 26 日
When I use matlab to run a long time code, it pops some window(figures,etc). And when the windows pop, mac will immediately goes to the window. That means if I was typing, it made me type in a mess. Or if I was watching movie while the programme run, I would be often disturbed.
Is there any way to solve this?
I'm not sure if I make it clear.

採用された回答

vamshi sai yele
vamshi sai yele 2022 年 8 月 26 日
Hi Ethan,
As per my understanding you want to stop/avoid the pop-up’s which are result of your MATLAB code because it directs you to its respective window from the current one.
I am assuming the pop-ups to which you're referring are related to the figure.
There are two ways to hide the figure window pop-up’s,
The first method is to set the ‘WindowState’ property to ‘minimized’.
Here is an example code snippet to help you understand it better.
v=figure;
v.WindowState = 'minimized'
Second method, we can set the figure visibility to ‘off’,as shown below.
Here is an example code snippet to help you understand it better.
v=figure;
v.Visibility = off
These methods will help you to avoid the figure window pop-up’s
For your reference and other figure properties figure kindly refer to this link

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by