Main Content

Model Design Dashboard

Collect model metric data and assess quality of model in project

Since R2022b

Description

You can use the dashboard to assess the size and complexity of your models in accordance with ISO 26262-6:2018. The dashboard monitors the design artifacts in your project and provides an overview of the size, complexity, and architecture of each software unit and component. Using this app, you can:

  • View the complexity, depth, and breadth of a model

  • View the number of input and output ports and signals

  • View the number of:

    • Simulink® blocks, signal lines, and Goto blocks

    • Stateflow® transitions and states

    • Lines of MATLAB® code

Model maintainability metric results for a model in a project

Open the Model Design Dashboard App

Open a project, then use one of these approaches to open the app:

  • MATLAB Toolstrip: In the Project tab, in the Tools menu, under Apps, click Model Design Dashboard.

  • Simulink Toolstrip: On the Apps tab, under Model Verification, Validation, and Test, click Model Design Dashboard.

  • MATLAB command prompt: Enter modelDesignDashboard.

Examples

expand all

Open the Model Design Dashboard on a project.

Open the example project cc_CruiseControl.

openExample("slcheck/ExploreTestingMetricDataInModelTestingDashboardExample");
openProject("cc_CruiseControl");

Open the Model Design Dashboard.

modelDesignDashboard
The dashboard shows model maintainability metric results for the cc_ControlMode model, including metrics for the size, architecture, and complexity of the model.

Related Examples

Version History

Introduced in R2022b