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.
The XML comparison tool compares the XML files using the "Chawathe" algorithm, as described in the paper:
|Change Detection in Hierarchically Structured Information, Sudarshan Chawathe, Anand Rajaraman, and Jennifer Widom; SIGMOD Conference, Montreal, Canada, June 1996, pp. 493-504.|
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.