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

1 view (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jun 2023
Edited: MathWorks Support Team on 21 Jun 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.

More Answers (0)

Categories

Find more on Component-Based Modeling in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!