how do I compare simulink data dictionaries

I'm working with simulink data dictionaries and need to be able to difference Simulink data dictionaries. These are stored as binary files so are not comparable with tools such as Beyond Compare. Is there any natice support within Matlab for differencing .sldd simulink data dictionary files?

回答 (1 件)

stozaki
stozaki 2020 年 2 月 27 日

1 投票

Please try following script.
  1. Unzip attached file.
  2. execute the script.
visdiff('dd1.sldd','dd2.sldd')
For simple file differences, you can use the isequal function.
isequal('dd1','dd2')

2 件のコメント

Christopher Grant
Christopher Grant 2020 年 4 月 22 日
I have tried visdiff and the Comparison tool and they do not have any fileters for the data dictionary to ignore unimportant changes like the models have. Is there a way to filter out unimportant changes (like last modified) or see all the entries and thier changes in 1 report?
Robert Simpson
Robert Simpson 2021 年 8 月 5 日
+1

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

カテゴリ

ヘルプ センター および File ExchangeSimulink PLC Coder についてさらに検索

質問済み:

2020 年 2 月 27 日

コメント済み:

2021 年 8 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by