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

조회 수: 85 (최근 30일)
hyoungsang cho
hyoungsang cho 2016년 10월 21일
댓글: Manoj Kumar 2021년 4월 22일
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.

답변 (1개)

mbenz
mbenz 2018년 2월 6일
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.

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by