User`s guide

25 Create Model Advisor Checks
25-16
Create Check for Model Configuration Parameters
In this section...
“Create Data File for Diagnostics Pane Configuration Parameter Check” on page
25-17
“Create Check for Diagnostics Pane Model Configuration Parameters” on page 25-19
“Data File for Configuration Parameter Check” on page 25-22
To verify the configuration parameters for your model, you can create a configuration
parameter check.
Decide which configuration parameter settings to use for your model. For information,
see:
MathWorks Automotive Advisory Board (MAAB) Control Algorithm Modeling
Guideline “Model Configuration Options”.
High-Integrity System Modeling Guideline “Configuration Parameter
Considerations”.
Code Generation Guideline “Configuration Parameter Considerations”.
“Configuring Model Parameters” in the Simulink Coder documentation.
“Configuring Model Parameters” in the Embedded Coder documentation.
1
Create an XML data file containing the configuration
parameter settings you want to check. You can use
Advisor.authoring.generateConfigurationParameterDataFile or
manually create the file yourself. For an example, see “Create Data File for
Diagnostics Pane Configuration Parameter Check” on page 25-17.
2
Register the model configuration parameter check using an sl_customization.m
file. For an example, see “Create Check for Diagnostics Pane Model Configuration
Parameters” on page 25-19.
3
Run the check on your models.
After you create the check, you can deploy the check as described in “Organize and
Deploy Model Advisor Checks”.