Main Content
Create Model Advisor Checks
Define custom checks and provide a fix action
Custom checks provide you with the ability to specify which conditions and configuration settings the Model Advisor reviews and at which stage during model development the Model Advisor reviews them. You can create custom checks that automatically run while you edit the model and interactively run in the Model Advisor. For the workflows, see Define Custom Model Advisor Checks.
Classes
Functions
Topics
Create Custom Model Advisor Checks
- Define Custom Model Advisor Checks
Create a custom check that specifies a set of conditions and model configuration settings that the Model Advisor reviews. - Review a Model Against Conditions that You Specify with the Model Advisor
Create a simple pass/fail check with no fix action and an informational check. - Fix a Model to Comply with Conditions that You Specify with the Model Advisor
Create a pass/fail check that groups results by block or subsystem and provides a fix action. - 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.
Create Custom Edit-Time Checks
- 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.
Create Custom Block and Configuration Parameter Checks
- Create Model Advisor Check for Model Configuration Parameters
To verify the configuration parameters for your model, create a configuration parameter check. - Define Model Advisor Checks for Supported and Unsupported Blocks and Parameters
Create Model Advisor checks that specify block and model parameter constraints.