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

boundariescrossingmodelroot-levelsimulink

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?

Best Answer

  • This error message is likely the result of messages being used as inputs and/or outputs to model references. This is a known limitation in R2017b and is listed in the following documentation page: