Simulink errors out when multiple definitions of the same variable are found in referenced data dictionaries
Show older comments
I have a top-level model which has two model references A and B. Both models have their own data dictionaries a.sldd and b.sldd. Both data dictionaries have a variable called "Speed_Limit" defined in them, but they have different values. When I compile the model, I get the following error.
The symbol 'Speed_Limit' has more than one definition, and there are inconsistencies:
Caused by:
- value=200 for Speed_Limit in a.sldd (Use this definition)
- value=100 for Speed_Limit in b.sldd (Use this definition)
How do I fix this error?
Accepted Answer
More Answers (0)
Categories
Find more on Create Large-Scale Model Components 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!