You can use the Model Advisor API to create Model Advisor checks. Custom checks provide you with the ability to specify which conditions and configuration settings the Model Advisor reviews. For the workflow, see Defining Custom Model Advisor Checks Workflow.
Defining Custom Model Advisor Checks Workflow
Create a custom check that specifies a set of conditions and model configuration settings that the Model Advisor reviews.
Create Pass/Fail and Informational Model Advisor Checks
Create a simple pass/fail check with no fix action and an informational check.
Create a Pass/Fail Model Advisor Check with Fix Action
Create a pass/fail check that groups results by block or subsystem and provides a fix action.
Create Model Advisor Check for Model Configuration Parameters
To verify the configuration parameters for your model, create a configuration parameter check.
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.
Define Model Advisor Checks for Supported or Unsupported Blocks and Parameters
Create Model Advisor checks that specify block and model parameter constraints.