Simulink model comparison with R2012b

조회 수: 5 (최근 30일)
p fontaine
p fontaine 2012년 11월 1일
댓글: Praveen 2018년 3월 26일
When I try to compare a simulink model and its ancestor by using "compare to ancestor" in the simulink project interface I get a binary comparison of both files and not a model comparison.
What should I do to get the correct comparison ?
  댓글 수: 4
Ryan G
Ryan G 2012년 11월 2일
Check my answer below and try the process with the demo files available. If they are files of different names you want to compare there is a seperate process you can follow to compare the xml files.
Ryan G
Ryan G 2012년 11월 2일
편집: Ryan G 2012년 11월 2일
Followup to previous comment. For the XML file comparison you need Simulink Report Generator. The compare to ancestor can be a bit confusing here. It does the binary comparison when you do not have the report generator, but if you do have report generator it will do the xml comparison instead.

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

채택된 답변

Ryan G
Ryan G 2012년 11월 1일
편집: Ryan G 2012년 11월 2일
Try doing the process on this demo to make sure everything in MATLAB/Simulink is working properly.
I tried the demo and it worked out fine comparing simulink files.
  댓글 수: 1
Praveen
Praveen 2018년 3월 26일
Hi, It seems form the model comparison diff report, at a time only one Item can be selected to see the highlighted portion in the Original Models. Is there a way to select all Diff Items both from left and right sides to see the complete impacted blocks highlighted in models?
Thank you.

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

추가 답변 (1개)

Tim Hosey
Tim Hosey 2012년 11월 2일
You need to have Simulink Report Generator installed or you will just get a binary comparison.

카테고리

Help CenterFile Exchange에서 Reporting and Database Access에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by