Simulink-Project... is there a way to deactivate pop-up question?

We just started using Simulink Project. When a model is opened that is part of the project, a pop- up will show up if we want to open just the model, or load the entire project.
Is there a default setting to deactivate that behavior?
We have many examples where we run simulink and open models programmatically, in various batch modes. So blocking on a pop-up each time is not an option.

댓글 수: 4

I have never noticed this happening programmatically. If you really see that, let us know.
A little more investigration showed that
  • load_system() and open_system() do not exhibit the behavior (no pop-up)
  • but open() does produce the pop-up
we only had one instance where we are using open() and we are currenty looking what that was, and if it can be replaced by open_system or load_system
It happens in R2021B also with open(). That should be fine since open() seems to be intended to be the same as opening the model for user editing and using. It does not appear to be a purely programmatic function.
Hawking
Hawking 2023년 3월 3일
편집: Hawking 2023년 3월 3일
I am getting below pop up while opening simulink model file every time. How to disable this pop-up.

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

 채택된 답변

Kai Harth
Kai Harth 2022년 3월 4일

0 개 추천

Summarizing the answer myself here:
Turns out that only open() has this behavior, load_system() and open_system() do not.
It is acceptable to say that in a programmatic context only the latter two should be used, which mitigates the problem.

추가 답변 (1개)

카테고리

도움말 센터File Exchange에서 Using MATLAB Projects in Simulink에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2022년 3월 4일

답변:

2025년 3월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by