Main Content

Show Model Advisor edit-time checks

Enable Model Advisor edit-time checking for model

Since R2022a

Model Configuration Pane: Model Advisor

Description

Enable Model Advisor edit-time checking for the model.

Settings

"Off" (default) | "On"

On

The Model Advisor shows edit-time checks on the Simulink® canvas while you edit your model. If you edit the model when edit-time checking is enabled, the Model Advisor checks out a Simulink Check™ license.

Off

The Model Advisor does not show edit-time checks on the Simulink canvas while you edit your model.

You can use edit-time checking to check that a model complies with modeling guidelines or standards. For information, see Check Model Compliance Using Edit-Time Checking (Simulink Check).

You can enable edit-time checking for your model by using one of these approaches:

  • Navigate to the Model Advisor Configuration Parameters from the Simulink toolstrip for your model. In the Debug tab, click Diagnostics > Edit-Time Checks. Select the check box for Edit-Time Checks.

  • In the Modeling tab, click Model Advisor > Edit-Time Checks. Select the check box for Edit-Time Checks.

  • Enable edit-time checking at the command line by using the function edittime.setAdvisorChecking (Simulink Check).

Note

The parameter ShowAdvisorChecksEditTime does not exist by default.

Use the function edittime.setAdvisorChecking (Simulink Check) to enable or disable edit-time checking for the model.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: ShowAdvisorChecksEditTime
Type: string
Value: "On" | "Off"
Default: "Off"

Version History

Introduced in R2022a

See Also

(Simulink Check) | (Simulink Check)