How do I resolve the following error message: The referenced model containing messages crossing model boundaries must be at root-level.

1 vue (au cours des 30 derniers jours)
I receive an obscure error message when updating my test harness in R2017b:
Invalid use of referenced model <model_name>. The referenced model containing messages crossing model boundaries must be at root-level.
What is the reason for this error message?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 20 Juin 2023
Modifié(e) : MathWorks Support Team le 21 Juin 2023
This error message is likely the result of messages being used as inputs and/or outputs to model references.  There are certain limitations for using Messages in Simulink R2017b:
  • Moore charts
  • Atomic subcharts
  • Breakpoint condition expressions
  • Model reference inputs and outputs
However, using model reference inputs and outputs is possible in R2019b release.

Plus de réponses (0)

Catégories

En savoir plus sur Component-Based Modeling dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by