Simulation Manager programmatic control via handle

12 Ansichten (letzte 30 Tage)
JW
JW am 27 Jun. 2023
Kommentiert: Maharshi Patel am 23 Apr. 2025
I would like a programmatic method for controlling the Simulation Manager (documentation). Is there a function to get its handle so I can modify the window's properties or perhaps close it? Thanks!

Akzeptierte Antwort

Angelo Yeo
Angelo Yeo am 27 Jun. 2023
Hi JW,
Unfortunately, as of R2023a, Simulation Manager does not have a handle. You can see that findall(0) does not return handle for the Simulation Manager window.
If you want to prevent multiple Simulation Monitor windows from popping up, you can consider using 'ShowSimulationManager' option for sim or parsim. E.g.,
>> out = sim(in, 'ShowSimulationManager', 'off')
Hope this helps,
Angelo
  3 Kommentare
Angelo Yeo
Angelo Yeo am 28 Jun. 2023
Hi JW,
Thank you for providing the details how it impacts on your workflow. I think I can share your comment with the dev team as we always look for voice of customers.
Thanks,
Angelo
Maharshi Patel
Maharshi Patel am 23 Apr. 2025
Hi JW,
You can select the "Reuse Window" toggle button in the Simulation Manager's Toolstrip to reuse existing window and prevent creating new windows with each new batch.
Thanks,
Maharshi

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by