How can I avoid the error "Potential conflicting usages of identifier" ?

90 Ansichten (letzte 30 Tage)
hyoungsang cho
hyoungsang cho am 21 Okt. 2016
Kommentiert: Manoj Kumar am 22 Apr. 2021
The structure of my model is like below.
The signal "Out1" is set to be resolved to simulink signal object on both 'A' and 'B' model files. There used to be no error when auto code generation(or model build process) by this sturcture, but sometimes an error occurred "Potential conflicting usages of identifier : Out1" and once it appear, it always do. If I uncheck the blue fork sign of one side, then the error is disappeared. I've seen a similar question and answer in this site before, and the answer was 'update the matlab version'. 2013a is my current matlab version but I can't update this version and also can't uncheck this blue fork by some reasons. So, I'd like to know how I can avoid this error while both fork sign set.

Antworten (1)

mbenz
mbenz am 6 Feb. 2018
Where you able to fix this issue? How did you do it?
In R2016a, I was able to get around by using a different Alias (right click on signal, properties, Code Generation tab) for each instance of the Out.
This is no longer working in R2017b.

Kategorien

Mehr zu Schedule Model Components finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by