Main Content

Show Model Advisor edit-time checks

Description

Enable Model Advisor edit-time checking for the model.

Category: Model Advisor

Settings

Default: Off

On

The Model Advisor shows edit-time checks on the Simulink® canvas while you edit your model.

Off

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

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).

Tip

For more information on edit-time checking, see Check Model Compliance Using Edit-Time Checking (Simulink Check).

Command-Line Information

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

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