Empty white space with no visible objects or details.

SimDiff Review allows large teams to visually review model changes without the need for reviewers to have a Simulink license.

A Peer Review File is a self-contained archive of everything needed to visually review model differences interactively in full detail, but can be opened as an HTML file for non-interactive viewing.

SimDiff can be used for comparing, filtering changes, auditing, reporting, and merging Simulink models. Newer features we’ve introduced in shifting from a desktop tool to a DevOps solution include better integration, Subsystem Snapshot, Peer Review, and Automation that supports docker automation. 

Peer Review file

SimDiff’s new Peer Review feature streamlines collaboration on Simulink model changes.

Each Peer Review file contains screenshots and a detailed list of differences found during a model comparison. Unlike static reports, these files can be opened directly in SimDiff, allowing reviewers to interactively explore and visualize the differences using SimDiff’s built-in model viewer.

You can also create Subsystem Snapshots to include in discussion threads, or perform incremental reviews and audit trails of model changes.

Peer review files can be generated from the SimDiff user interface or you can script it using SimDiff Automation from pipelines.

Picture this: you get a chat message from a colleague asking you to review some changes in a merge/pull request where he included a Peer Review file. You can open the peer review file in SimDiff to easily and graphically glance at the changes by using SimDiff’s model viewer. Note that you don't need a Simulink license nor MATLAB installed to visualize the model.

There are two possible workflows you can use to perform the review. You can use the Subsystem Snapshot feature to attach snapshots to comments about specific differences in discussions threads.

Alternatively, you can use the Auditing in Peer Review feature to review and comment on the differences right in SimDiff. Once you are done, you can share the automatically updated Peer Review file with your review of the changes.

Subsystem Snapshot

A subsystem snapshot includes a model screenshot and a succinct visual summary of specific differences. From the snapshot dialog, you can zoom and pan the snapshot to the desired area of the model where you have the change that you want to comment on and you can select the list of differences that you want to include in the snapshot. Then, you can simply drag and drop from the thumbnail on the bottom-right of the dialog to share the snapshot.

For example, suppose you want to add a comment about a change in a merge or pull request, you can add your comment and then simply drag and drop the snapshot directly to the merge/pull request. The image on the right shows 2 comments with corresponding snapshots in a GitLab merge request comment.

There are users who use PowerPoint to discuss changes. So in those cases you can use the copy to clipboard button, then paste in whatever presentation software you use. 

Another possibility would be to email a colleague asking him to review some changes. So you can again drag and drop the snapshot to the email body and you can also attach the SimDiff Peer Review file and send it for review.

Notice that no Simulink license or MATLAB is required while working with Peer Review files.

Auditing in Peer Review

There is also a legacy workflow in SimDiff to audit differences, which was originally intended for compliance and documentation. That workflow has been extended in the Peer Review feature and now the auditing can be done in parts. 

Basically, you can do some review of some of the changes and then pass the Peer Review file to a colleague who can continue with the review. 

As you review in SimDiff, the auditing information is automatically saved to the Peer Review file. 

The audit progress is shown in the summary section of the Peer Review. It provides a Copy button to facilitate sharing that information in GitLab so someone else can continue with the review. You can additionally attach the Peer Review or email it so that a colleague can continue with the review.

Comparing Models with SimDiff

SimDiff Workstation, SimDiff Automation, and SimDiff Classic can compare Simulink models and generate Peer Review Files, which can be reviewed with SimDiff Review.

Reviewing Changes

The SimDiff results window contains two trees for you to see the results.

The left tree is your Simulink model with the changes that you have made. The right tree is the Simulink model with changes made by your colleague. Each difference is numbered and colored. Blue indicates a change, red a deletion, and green an addition. You can customize these colors in the Preferences. SimDiff also includes a legend (button at top-right corner) that describes the colors and icons in SimDiff.

There is a status bar at the bottom of the window which shows how long the comparison took and how many changes have been made to the models. You can mouse over each item for more detail. 

One of the exceptional features of SimDiff is its speed. Comparison of sample models that come with SimDiff takes less than half a second, but even with large models SimDiff runs quickly. SimDiff can compare models with thousands of blocks in 2.5 seconds or less, and 20 MB MDL files with more than 30,000 blocks in less than 10 seconds. This fast and accurate comparison is a result of the graph theory research at ENSOFT.

Let’s look at a specific change.

The Actual Speed block is highlighted light blue. This means the block has one or more changed attributes. You can click on the block in either tree and SimDiff will show a comparison of the attributes at the bottom of the window. The Attributes panel shows that the constant block value was changed from 400 to 500.

You can view differences in Simulink by double-clicking them, or by clicking on the toolbar button while the difference is selected. SimDiff has highlighted the currently-selected block in Simulink. By default it also highlights changed, deleted, and added blocks to match the colors used in SimDiff’s two trees. SimDiff provides navigation buttons in the toolbar to step through changes one at a time.

Screenshots of a simulation software interface showing models of a radar system with components like acceleration models, Kalman filters, and velocity models. The interface displays properties and parameter adjustments, including changing the 'Actual Speed' value from 400 to 500.

Let’s now look at another kind of change where parallel edits were done in the same block.

The red bar indicates that this is a conflicting change. The Attributes panel shows that the conflict occurs because the name was changed in both the left and the right models.

Screenshot of a software interface displaying a model comparison for aero_radmdom with left and right models, including nested components and attributes such as Mux_x y, Mux_xy1, r_out, theta, and x, with annotations about attribute changes between the models.

Auditing

SimDiff shows all model contents by default, including blocks with no differences. However, it provides buttons on top of the trees to customize the view.

For example, clicking the “All Changes” button will adjust the view to only show items with changes.

This view is helpful during a review process.

Reviewers can keep track of their progress by checking off changes on the right column as they review them. Review progress is shown in the status bar.

The auditing panel allows you to add auditing information, such as tags and notes, for the selected model element(s). The username and date are automatically filled in. 

You can save the auditing information to an XML file, and later load it back into SimDiff. You can also include the auditing information in a change report, which can be saved in either HTML or XML format. HTML is the preferred format for viewing, while XML is more convenient for automated post-processing with an external tool.

A computer screen showing a simulation software interface with side-by-side models of a radar system, highlighting attributes like 'Actual Speed' marked as critical with red labels, and various filters like Kalman Filter and Radar Kalman Filter, with notes about production model changes and audit status.

Request a SimDiff Review Trial

Ready to try SimDiff Review? Fill out some info and we will be in touch shortly.
We can't wait to hear from you!

Version Control System Integration

SimDiff integrates with many version control systems (VCSs) and we provide articles detailing the setup process: ClearTeam Explorer, Git, Git+Git Extensions, Git+SourceTree, Mercurial, TortoiseGit, and TortoiseSVN. If you have questions about the existing documentation, or if your version control system is not listed, please contact ENSOFT support.

DevOps Integration

We also offer documentation to integrate SimDiff Automation into your DevOps workflow, using Azure DevOps and GitLab as examples.

System Requirements

SimDiff supports all Windows versions going back two decades and common Linux versions. SimDiff can compute differences without MATLAB/Simulink installed, though some advanced features do use it. SimDiff supports R2007b and higher, all the way up to the most recent release. Full SimDiff System Requirement details can be found here.