How to determine a sim. model is being run by itself or as a referencede model?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kaveh Allahdin
le 29 Nov 2017
Commenté : Kaveh Allahdin
le 8 Déc 2017
I have a simulink model! when run independently I want to use a let'say sin wave as input for further analysis,and when run as referenced model I want it to get data from root-level input block! How can I do this?!
cheers, Kaveh
0 commentaires
Réponse acceptée
Mark McBroom
le 29 Nov 2017
On the "Data Import/Export" tab of the configuration settings, specify "Input" values for all input ports in the "Load from workspace" section. These settings are used only when the model is simulated on it's own, but ignored when a used as a reference model inside another model.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Model References dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!