MATLAB Answers

Simulink compare shows false positives

1 view (last 30 days)
I'm using Matlab 2017b compare tool to review changes in simulink libraries.
I see false-positive differences quite often. Simulink Compare, for some reason, tries to compare 'Compare to constant1' to 'Compare to constant3'.
There are compare to constant 1...3 blocks, none of them changed. They have the same source signal, the same output signal, something else changed in the model.
What could be the cause for these? Is this a known bug, is there a fix?


Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 6 Dec 2019
Edited: Fangjun Jiang on 6 Dec 2019
It sounds like a bug. You could contact tech support to confirm. I've seen similar results quite often, even in later versions and the Mathworks confirmed the "issue". Simulink diff tool still needs improvements.


Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by