how do I compare simulink data dictionaries

조회 수: 47 (최근 30일)
Liam Hammond
Liam Hammond 2020년 2월 27일
댓글: Robert Simpson 2021년 8월 5일
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일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by