メインコンテンツ

Model Guidance Dashboard

Detect, visualize, and resolve modeling issues

Since R2026a

Description

Use the Model Guidance Dashboard to detect, visualize, and resolve modeling issues while building models.

The Model Guidance Dashboard capabilities include:

  • Automatic checking — As you build or modify your model, the dashboard runs edit-time supported Model Advisor checks in the background.

  • Instant feedback — Modeling errors, guideline violations, or information status are flagged immediately.

  • Visual Indicators — Errors, warnings, and informational messages are displayed.

  • Live metrics and analysis — Metrics such as Complexity, Halstead Difficulty, Depth, and Breadth are updated live.

  • Quick navigation — Jump directly from the dashboard to the relevant block or subsystem.

  • Progress tracking — See how many checks have passed or failed, and track your progress toward compliance.

Use the Keep highlighting when closed toggle button to control violation highlighting in the model. Toggle the button on to highlight violations, regardless of whether the dashboard is open. Toggle the button off to highlight violations only when the Model Guidance Dashboard is open.

Enabling this option also enables Edit-Time Checks, which you can alternatively enable by opening the Configuration Parameters dialog box in the Model Advisor pane, selecting Edit-Time Checks. Disabling this parameter turns off Edit-Time Checks for the model.

Model Guidance Dashboard with model metric results.

Open the Model Guidance Dashboard App

For a Simulink® model:

  • On the Modeling tab, click Model Advisor > Model Guidance Dashboard.

    Opening app via Modeling tab

  • Right-click in the model window and open the Simulink context menu. Go to Select Apps > Model Advisor > Model Guidance Dashboard.

    Model Guidance Dashboard via Simulink Context menu

Examples

Detect and justify a MAB compliance violation

Detect a MAB compliance violation in the vdp model and suppress it by adding a justification.

  1. Open the vdp model.

    openExample("vdp");

  2. On the Modeling tab, click Model Advisor Model Advisor > Model Guidance Dashboard.

  3. In the Model Guidance Dashboard, click the Settings icon to change the configuration. In the Select configuration for Modeling Issues drop-down, choose Check compliance to MAB.

    Changing the configuration to MAB

  4. Click OK to apply the MAB configuration to the model.

  5. Click Simulink category under the modeling issues to view the violations.

  6. Select the check violation Check for missing block names and click the Fcn block.

    Selecting the check violation and a specific block under it

  7. Clicking the Fcn block, highlights the violated Fcn block in the vdp model.

    Violated block highlighted in the model

  8. Click Suppress and enter a comment in the pop-up to explain why this violation can be ignored.

  9. Click Add justification to remove the violation from the Model Guidance Dashboard.

    Adding justification to suppress the violation for Fcn block

Modify Configuration and View Model Metrics

Click the Settings icon to modify the configuration or view model metrics.

Model Guidance Settings pop-up.

Select a configuration from the Select configuration for Modeling Issues drop-down list. To view or edit the selected Model Advisor configuration in the Model Advisor Configuration Editor, click the Edit/View configuration button .

Model Guidance dashboard allows you to select the following configurations:

To display model metrics, select Show model metrics. Model Metrics displays real-time information of Complexity, Halstead Difficulty, Depth, and Breadth. For more information, see Model Metrics.

View Modeling Issues

Hover over Modeling Issues to view details about the violations in the model. Modeling issues are prioritized by errors, warnings, and informational messages. The icon preceding the Modeling Issues list indicates the overall violation status of the model, also prioritized by errors, warnings, and information.

Modeling issues precedence

Click on a category under Modeling Issues to view the modeling issues particular to that category. Further, you can:

Category drill-down

  • Click the Error icon to view only the errors in that category.

  • Click the Warning icon to view only the warnings in that category.

  • Click the Informational icon to view only the information status in that category.

  • Click a particular violation and select a block. The block in the model is highlighted and the Model Guidance Dashboard displays the violation details.

    Selected violation info

  • Click the link displayed in the navigation trail at the top of the window to return to the landing page of Model Guidance Dashboard.

    Model Guidance Dashboard. A link in the navigation trail at the top of the window is highlighted.

  • Click the bidirectional arrows to navigate between categories and view their respective violations.

    Model Guidance Dashboard. The bidirectional navigation arrows are highlighted.

Version History

Introduced in R2026a