Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

模型比较

比较模型以识别更改或将模型之间的差异合并

查看及合并模型中的更改,显示原始模型,筛选并保存比较结果。

函数

visdiff比较两个文件或文件夹

主题

关于 Simulink 模型比较

了解如何选择 Simulink® 模型进行比较,如何浏览差异,查看原始模型中突出显示的更改,以及使用三向模型合并或双向合并来合并差异。

比较 Simulink 模型

查看及合并模型之间的更改,显示原始模型,筛选并保存比较结果。

Display Differences in Original Models

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

从比较报告合并 Simulink 模型

使用三向模型合并、双向合并以及合并 MATLAB® Function 模块代码来解决冲突。

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 project instead.

Compare Project or Model Templates

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

特色示例