System Composer Comparison Tool
Description
The Comparison Tool in System Composer™ is an interactive tool for visualizing and merging differences between two System Composer architecture models and their associated data.
Using the Comparison Tool, you can:
Compare and review changes in architecture model files.
Visualize and highlight changes in the System Composer Editor.
In R2026a: Export the comparison results to send for peer review.
In R2026a: Use merge mode to port or restore changes in different architecture models.
The comparison report shows differences for these types of architectural data:
Model structural differences (components, ports, and connectors)
Different types of supported components and ports
Data dictionaries
Owned port interfaces
Applied stereotypes and property value changes on model elements
Profiles (since R2025a)
Architecture views
Sequence diagrams (since R2025a)
Parameters
Simulink® properties
Rows in the comparison report are highlighted according to the type of difference:
Insertion
— Added elements to the right side that did not exist
on the left sideDeletion
— Removed elements that did exist on the left side but
not on the right sideModification
— Changes to existing elements that exist on both the
left and right sides
For the Simulink version of this tool, see Comparison Tool.
Open the System Composer Comparison Tool
You can select files and folders on disk to compare using one of these methods:
Files or Project panel — To compare two files on disk, select both files. Then, right-click and select Compare Selected Files/Folders. The Comparison Tool opens the file you select first on the left.
Command Window — Use the
visdifffunction.
For files under source control, you can open the Comparison Tool to understand differences between revisions using one of the following methods.
Files or Project panel — To compare a file to its ancestor, select Source Control > View Changes. To compare the file to a different revision, right-click the file and select Show Revisions. In the Log dialog box, select the revision and click Compare to Local.
Source Control panel — To compare a file to its ancestor, in the Modified Files section, right-click the file and select View Changes. To compare the file to a different revision, right-click the file and select Show Revisions. In the Log dialog box, select the revision and click Compare to Local.
Branch Manager — To inspect changes in a file between two Git™ revisions, open the Branch Manager. Right-click and select Source Control > Branch Manager. In the Commit Differences pane, right-click a file and select Show Differences.





