Main Content

Model Advisor configuration file

Description

Specify the Model Advisor configuration file for the model.

Category: Model Advisor

Settings

Default: ""

You can specify the Model Advisor configuration file by using one of these approaches:

  • Use the Model Advisor. In the Model Advisor, in the Configure section, click Load > Associate Configuration to Model. When you click Associate Configuration to Model, the Model Advisor opens the Configuration Parameters for your model and sets the configuration parameter ModelAdvisorConfigurationFile to the full file path of the current configuration file. Click OK to accept the current configuration file as the configuration file for your model.

  • Enter the name of your Model Advisor configuration file in this field.

  • Specify a configuration at the command line by using the function ModelAdvisor.setModelConfiguration (Simulink Check).

Tips

Command-Line Information

Parameter: ModelAdvisorConfigurationFile
Type: string
Value: full file path for Model Advisor configuration file (JSON) saved with the Model Advisor Configuration Editor in R2022a release or later
Default: ""

Note

The parameter ModelAdvisorConfigurationFile does not exist by default.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact