How do we compare simulink models to find differences

1 回表示 (過去 30 日間)
Marco Tremblay
Marco Tremblay 2013 年 1 月 16 日
コメント済み: Ned Twigg 2016 年 1 月 15 日
I would like to compare two simulink models to find differences. I would expect that there is a utility that does that and highlight the modified sections.
Moving the blocks should not be a trigger as the exact loactions of the blocks is not important.
The changes to the logic and avriables should be highlighted as done in all the C compilers on the market.
There used to be a comparator built in for the XML results but it has disapeared from the 2012B version.
Anybody know a way to tell what changed in my files from the earlier saved version?
Thank you

回答 (2 件)

Ryan G
Ryan G 2013 年 1 月 16 日
There is an XML comparator that is part of Simulink Report Generator. Unfortunately I don't believe you can tell it not to notice difference in block position as it is recorded in the XML and will show as a difference.

Julia
Julia 2013 年 4 月 5 日
You may also use the Diff and Merge tool of ikv++technologies ag - medini unite. http://www.ikv.de/index.php/en/products/unite
  1 件のコメント
Ned Twigg
Ned Twigg 2016 年 1 月 15 日
DiffPlug can do Simulink comparisons, and you can configure it to ignore position (or any other property you don't care about).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by