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)
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
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.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by