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

4 vues (au cours des 30 derniers jours)
Kai Harth
Kai Harth le 4 Mar 2022
Modifié(e) : Hawking le 3 Mar 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 commentaires
Benjamin Thompson
Benjamin Thompson le 4 Mar 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 le 3 Mar 2023
Modifié(e) : Hawking le 3 Mar 2023
I am getting below pop up while opening simulink model file every time. How to disable this pop-up.

Connectez-vous pour commenter.

Réponse acceptée

Kai Harth
Kai Harth le 4 Mar 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.

Plus de réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by