Simulink model comparison with R2012b

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 comentarios

Ryan G
Ryan G el 1 de Nov. de 2012
Are they both .mdl or .slx? Are both models the same version (2012b)?
p fontaine
p fontaine el 1 de Nov. de 2012
Editada: p fontaine el 1 de Nov. de 2012
they are .slx files created with R2012b
Shall I have Simulink Report Generator to do the comparison ?
Ryan G
Ryan G el 2 de Nov. de 2012
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 el 2 de Nov. de 2012
Editada: Ryan G el 2 de Nov. de 2012
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.

Iniciar sesión para comentar.

 Respuesta aceptada

Ryan G
Ryan G el 1 de Nov. de 2012
Editada: Ryan G el 2 de Nov. de 2012

0 votos

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 comentario

Praveen
Praveen el 26 de Mzo. de 2018
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.

Iniciar sesión para comentar.

Más respuestas (1)

Tim Hosey
Tim Hosey el 2 de Nov. de 2012

0 votos

You need to have Simulink Report Generator installed or you will just get a binary comparison.

Categorías

Productos

Preguntada:

el 1 de Nov. de 2012

Comentada:

el 26 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by