主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

选择模型

选择要包含在覆盖率分析中的模型

模型配置窗格: 覆盖率

描述

选择模型参数指定要分析覆盖率的引用模型。点击选择模型按钮打开选择覆盖率分析模型对话框。在对话框中,您可以选择任意数量的模型,包括顶层模型。模型名称旁边的图标表示仿真模式。

依赖项

要启用此参数,请选择启用覆盖率分析参数并将覆盖率分析范围参数设置为引用模型

设置

无默认值

在选择覆盖率分析模型对话框中,选择您想要覆盖率的引用模型和 Observer 模型。Select Models for Coveragee Analysis dialog box. On the left, you can select models that you want to analyze for coverage. On the right, instructions explain that supported simulation modes for model coverage are normal and accelerator, and supported simulation modes for code coverage are software-in-the-loop and processor-in-the-loop.

注意

当您在“选择覆盖率分析模型”对话框中指定模型时,您可以选择要包含在模型中的模型。当您从命令行使用 CovModelRefExcluded 参数时,您输入要从覆盖率分析中排除的模型。

编程用法

参数CovModelRefExcluded
类型character vector | string
:以逗号分隔的模型名称列表,例如 'mRefA, mRefB, mRefC'。如果在两种仿真模式中引用了同一个模型,则可以使用 : 区分它们。例如,'mRefA:normal, mRefA:sil'
默认值''

限制

Simulink® Coverage™ 仅支持使用普通仿真模式的 Observer 模型的覆盖率分析。

版本历史记录

在 R2008a 中推出