- “Automatic signal label propagation” can be disabled by selecting the signal line, then right-clicking and choosing "Properties." In the Signal Properties dialog, uncheck "Signal name must resolve to Simulink signal object" to prevent Simulink from automatically propagating the name.
- “Potential conflicting usages of identifier” errors can be disabled by “configuring model Advisor Checks”. Open your Simulink model. In the Simulink toolbar, go to Analysis > Model Advisor. Select the settings icon or go to Settings. In the Model Advisor Configuration Editor, you can disable checks related to identifier conflicts.
Potential conflicting usages of identifier
10 views (last 30 days)
Show older comments
Hello, I am working on an integration model for code generation which by design has various instances of the same signa in different unconnected subsystems. I am getting a lot of errors of "Potential conflicting usages of identifier" which are due to the automatic propagation of signal names.
My question is:
1-can I disable automatic signal label propagation
or
2-can I disable "Potential conflicting usages of identifier" errors?
Thanks.
0 Comments
Answers (1)
Ayush Modi
on 1 Jan 2024
Hi,
As per my understanding, you are getting a lot of "Potential conflicting usages of identifier" errors. As a solution you would like to know if it is possible to disable automatic signal label propagation or disable "Potential conflicting usages of identifier" errors.
You can disable both these options:
Alternatively, you can adjust the naming rules for generated identifiers to reduce the likelihood of conflicts by opening the configuration parameters dialog, navigate to Code Generation -> Identifiers. Adjust the settings for identifier format control to ensure unique naming.
I hope this resolves the issue you were facing.
0 Comments
See Also
Categories
Find more on Simulink Coder 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!