- “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
조회 수: 65 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Ayush Modi
2024년 1월 1일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Component-Based Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!