How do I stop new simulink windows from stealing focus?

조회 수: 3 (최근 30일)
Jeff Bryan
Jeff Bryan 2019년 3월 7일
댓글: Fangjun Jiang 2019년 3월 9일
I have scripts running that pop up simulink windows in 2018a under windows 7.
It is super annoying that while working in other windows, focus keeps returning to the simulink windows that pop up.
How can I keep the scripts going, but just create windows that stay in the bacground?
Thank you.
--Jeff

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 3월 7일
What Simulink window? If it is brought up by open_system(), you can use load_system() instead.
  댓글 수: 2
Jeff Bryan
Jeff Bryan 2019년 3월 9일
Thank you, Fangjun,
Switching from open_system() to load_system() eliminated a lot of the frustration. However, our .m file which generates DSP Builder output products, still pops up a window indicating thish for each model, stealing the focus each time.
CaptureDspBuilderGenerating.PNG
Fangjun Jiang
Fangjun Jiang 2019년 3월 9일
when invoke the call, try to return or get the handle of the graphics, usually you can set the visibility to off.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by