比较图
分析不同版本的 Stateflow 图及表之间的差异并合并更改
使用双向比较与合并工具以及三向合并工具来比较、审查和合并 Stateflow® 图中的更改。对 Stateflow 图和表的模板进行比较,解决源代码管理下图中的冲突,以及在使用源代码管理工具时自定义差异比较及合并流程。
函数
| visdiff | 比较两个文件或文件夹 | 
主题
- 查看 Simulink 模型中的更改 (Simulink)查看及合并模型之间的更改,显示 Simulink® 编辑器中的更改,过滤并保存比较结果。 
- 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 TablesUse the Compare Tool to compare two state transition tables. (自 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.