Simulink model comparison with 2022b

5 views (last 30 days)
Amit
Amit on 23 Jun 2025
Commented: Amit on 30 Jun 2025
Hi,
I am looking for a tool which can compare two models and porvide the differences in report with path and snapshot with proper readability. I looking for just simply differences without any extra text etc.
Also suggest this to upload on azuredevos for review in PR in readable format.

Answers (1)

Swastik Sarkar
Swastik Sarkar on 25 Jun 2025
Hi @Amit,
To compare 2 Simulink models and generate a report programattically, you are looking for the visdiff function. Following is a MathWorks Documentation showing an example of how to generate a report programmatically and also attach the comparison report to the PR:
  1 Comment
Amit
Amit on 30 Jun 2025
I tried the suggested option but the generated difference report has poor readability. I need to zoom in and zoom out to look at the differences. Also there is lot of additional text comes in the report which for a reviewer is unnecessary. It would be helpful if report just have a snapshot of differences with proper zoom factor. Also on azure we can't see the direct report in a readable format, it's ask for the text version for comparison. Is there a way through which the difference report is directly readable on azure depos on review?

Sign in to comment.

Categories

Find more on Simulink Report Generator in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!