Why do I receive the error message "The number of input and output ports of the model and the model reference target does not match. This indicates that the model reference target of model 'my_referenced_model' is not up to date."?
28 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 16 Juin 2021
Réponse apportée : MathWorks Support Team
le 16 Juin 2021
When trying to run my Simulink model in SIL mode I am receiving the following error message,
Invalid model reference target. Block 'my_main_model/my_referenced_model' is referencing model 'my_referenced_model'.
The number of input and output ports of the model and the model reference target does not match.
This indicates that the model reference target of model 'my_referenced_model' is not up to date.
Why-do-I-receive-the-error-message-The-number-of-input-and-output-ports-of-the-model-and-the-model-reference-target-does-not-match-This-indicates-that-the-model-reference-target-of-model-my-referenced-model-is-not-up-to-date
Réponse acceptée
MathWorks Support Team
le 16 Juin 2021
In such cases the cached data for the referenced model have not been updated after the referenced model that is supposed to be executed in SIL mode has been changed. Please manually remove all the cached data that are automatically generated by Simulink and rerun the Simulink model in SIL mode.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!