Why am I getting an error message when simulating that says my reference model "has changed between the time when two instances of this model were compiled"?
Show older comments
I have a top-level model that has a model reference block. I am trying to simulate all models in normal mode. If I have just one instance of the model reference, my simulation runs as expected.

I then added in a second instance of my reference model, since I want to give the same model a different input within the same top-level-model simulation.

When I run my top model, I get the following error message.

I also noticed the corners of my second model reference block have turned gray, even though they were white just before the simulation.

I am able to run my reference model with no errors at all, and only get an error message when running the top-level model after adding the second instance of this reference model block. What is causing this issue? And what do these gray corners mean?
Accepted Answer
More Answers (0)
Categories
Find more on Configure and View Diagnostics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

