Why am I getting an "Incompatible global variables" after creating a protected reference model?
Show older comments
I have a reference model that uses global Simulink parameters declared in the base workspace and after creating a protected model from it, I get the following error when trying to simulate the model from a function with different values for the Simulink parameters:
ERROR: "One or more global variables used by protected model are incompatible with the variables that existed when the model was created."
Why do I get this error?
Accepted Answer
More Answers (0)
Categories
Find more on Model Protection 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!