Simulation Manager programmatic control via handle
조회 수: 8 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
Angelo Yeo
2023년 6월 27일
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
Angelo Yeo
2023년 6월 28일
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
2025년 4월 23일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!