Documentation

Model Comparison

Compare models to identify changes or merge differences between models

Review and merge changes in models, display original models, filter and save comparison results.

Examples and How To

About Simulink Model Comparison

Learn about selecting a pair of Simulink® models to compare, how to explore the differences, view the changes highlighted in the original models, and merge differences.

Compare Simulink Models

Review and merge changes between models, display original models, filter and save comparison results.

Display Differences in Original Models

Control highlighting of differences in original models, and view changes in model configuration parameters.

Merge Simulink Models from the Comparison Report

Resolve conflicts using three-way model merge, two-way merge, and by merging MATLAB® Function block code.

Export, Print, and Save Model Comparison Results

Archive comparison reports in printable reports or zip files, or export results to the workspace.

Comparing Models with Identical Names

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.

Work with Referenced Models and Library Links

The comparison report does not include changes to any referenced models or linked libraries. To examine your whole hierarchy, use a Simulink Project instead.

Compare Project or Model Templates

Compare model or project templates (SLTX files) and create a comparison report.

Was this topic helpful?