Filter löschen
Filter löschen

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

8 Ansichten (letzte 30 Tage)
Kai Harth
Kai Harth am 4 Mär. 2022
Bearbeitet: Hawking am 3 Mär. 2023
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 Kommentare
Benjamin Thompson
Benjamin Thompson am 4 Mär. 2022
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 am 3 Mär. 2023
Bearbeitet: Hawking am 3 Mär. 2023
I am getting below pop up while opening simulink model file every time. How to disable this pop-up.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kai Harth
Kai Harth am 4 Mär. 2022
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.

Weitere Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by