Possible bug in visdiff - need confirmation and a workaround

1 次查看(过去 30 天)
Hi,
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 ?
Thanks

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2019-11-14
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.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by