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

97 views (last 30 days)
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.

Answers (1)

mbenz
mbenz on 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.

Categories

Find more on Schedule 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!