MATLAB Answers

how do I compare simulink data dictionaries

22 views (last 30 days)
Liam Hammond
Liam Hammond on 27 Feb 2020
Commented: Christopher Grant on 22 Apr 2020
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?

  0 Comments

Sign in to comment.

Answers (1)

stozaki
stozaki on 27 Feb 2020
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')

  1 Comment

Christopher Grant
Christopher Grant on 22 Apr 2020
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?

Sign in to comment.

Sign in to answer this question.