MATLAB Answers

Possible bug in visdiff - need confirmation and a workaround

조회 수: 2(최근 30일)
Gehan Selim
Gehan Selim 14 Nov 2019
Commented: Gehan Selim 15 Nov 2019
InMatlab 2019a, I ran visdiff(ver1,ver2) for the 2 attached models, named ver1.slx and ver2.slx.
The output shows that Constant72 in ver1 has undergone a change to become Constant9 in ver2.
This result seems weird to me since Constant9 in ver2 has an equivalent Constant9 in ver1 . Both constants appear in the same exact position of the 2 models.
Can you confirm if this is a bug ? If yes, is there a workaround for it ?

  댓글 수: 0

로그인 to comment.

답변 수 (1)

Fangjun Jiang
Fangjun Jiang 14 Nov 2019
I think it is a bug, or at least a defect. I've seen similar issues. Inserting an Inport block in the middle of a subsystem block causes lots of other Inport blocks deemed changed. visdiff still needs significant improvement.
Report these example models to Tech Support and let them confirm whether it is a bug or not.

  댓글 수: 1

Gehan Selim
Gehan Selim 15 Nov 2019
Thanks a lot ! I just did !

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.




Translated by