Model Comparison
Use the Comparison Tool and Three-Way Merge Tool to compare Simulink® models and review, merge, and save changes. Compare templates for models and projects. Resolve conflicts in models under source control, and customize the diff and merge process when you use external source control tools. For more information, watch Using Projects to Collaborate, Track, and Merge Changes and Perform Code Reviews (4 min, 50 sec).
Tools
Comparison Tool | Diff and merge changes between Simulink models |
Three-Way Merge Tool | Resolve conflicts in Simulink models |
Functions
visdiff | Compare two files or folders |
Topics
- Review Changes in Simulink Models
Review and merge changes between models, display changes in the Simulink Editor, and filter and save comparison results.
- Resolve Conflicts in Models Under Source Control
Identify and understand conflicts in your models under Git™ source control, and resolve conflicts using Three-Way Merge Tool and merge changes.
- Set Up Simulink Diff and Merge in CI/CD Pipeline
Diff Simulink models in continuous integration (CI) workflows. Automatically attach the comparison reports as an artifact for easy viewing outside of MATLAB® and Simulink.
- Compare Model or Project Templates
Compare model or project templates (SLTX files) and create a comparison report.
- Customize External Source Control to Use MATLAB for Diff and Merge
Use the MATLAB Comparison Tool for diff and merge from external source control tools.