创建模型顾问检查
定义自定义检查并提供修复操作
自定义检查使您能够指定模型顾问审核哪些条件和配置设置,以及模型顾问在模型开发的哪个阶段审核它们。您可以创建在编辑模型时自动运行的自定义检查,以及在模型顾问中以交互方式运行的自定义检查。有关工作流,请参阅定义自定义模型顾问检查。
类
函数
主题
创建自定义模型顾问检查
- 定义自定义模型顾问检查
创建一项自定义检查,它指定一组条件和模型配置设置,供模型顾问审核。 - 根据您使用模型顾问指定的条件检查模型
创建一个简单的没有修复操作的通过/失败检查和一个信息型检查。 - 修复模型以符合您使用模型顾问指定的条件
创建一个通过/失败检查,该检查按模块或子系统对结果进行分组,并提供修复操作。 - Define the Compile Option for Custom Model Advisor Checks
To use Model Advisor custom checks to evaluate generated code, specify the compile option for each check. - Exclude Blocks from Custom Checks
This example shows how to exclude blocks from custom checks. - Create Help for Custom Model Advisor Checks
You can define help files for your custom Model Advisor checks to make the checks easier to use.
创建自定义编辑时检查
- Define Edit-Time Checks to Comply with Conditions That You Specify with the Model Advisor
Create custom checks that run automatically while you edit the model. - Define Custom Edit-Time Checks that Fix Issues in Architecture Models
Create custom checks that run on Architecture models while you edit them.
创建自定义模块和配置参数检查
- 为模型配置参数创建模型顾问检查
要验证模型的配置参数,请创建一项配置参数检查。 - 针对支持和不支持的模块和参数定义模型顾问检查
创建用来指定模块和模型参数约束的模型顾问检查。