Compare Charts
Use the Two-Way Comparison and Merge Tool and Three-Way Merge Tool to compare, review, merge changes in a Stateflow® chart. Compare templates for Stateflow charts and tables, resolve conflicts in charts under source control, and customize the diff and merge process when working with external source control tools.
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 (Simulink)
Review and merge changes between models, display changes in the Simulink® Editor, and filter and save comparison results.
- Compare and Merge Simulink Models Containing Stateflow (Simulink)
This example shows how to use the comparison report in MATLAB® to understand what has changed between two different designs.
- Compare and Merge State Transition Tables and Truth Tables
Use the Compare Tool to compare two state transition tables. (Since R2025a)
- Resolve Conflicts in Models Under Source Control (Simulink)
Identify and understand conflicts in your models under Git™ source control, and resolve conflicts using Three-Way Merge Tool and merge changes.