Select files to compare from the Editor, the Current
Folder browser, Simulink® Project, the Comparison tool, or using
visdiff function, change comparison type,
and try examples.
Review and merge changes, display original models, filter and save comparison results.
Control highlighting of differences in original models, and view changes in model configuration parameters.
Resolve conflicts using three-way model merge, two-way merge, and by merging MATLAB® Function block code.
Archive comparison reports in printable reports or zip files, or export results to the workspace.
Customize external source control to use MATLAB for comparison and merge.
Compare model or project templates (SLTX files) and create a comparison report.
Learn about selecting a pair of Simulink models to compare their XML files, explore the differences, view the changes highlighted in the original models, and merge differences.
How the Matching Algorithm Works (MATLAB Report Generator)
Describes how the Chawathe algorithm works for XML file comparison
Understand how Simulink creates temporary copies to have two models of the same name in memory at the same time, and how to control prompts to close files.
The XML comparison report does not include changes to any referenced models or linked libraries. To examine your whole hierarchy, use a Simulink Project instead.