Main Content

Model Testing Dashboard

Assess verification status and quality of your model and generated code

Since R2020b

Description

The Model Testing Dashboard collects metric data from the model testing artifacts in your project to help you assess the status and quality of your requirements-based model testing. The dashboard analyzes the testing artifacts in a project and reports metric data on quality and completeness measurements such as traceability and coverage. These measurements reflect guidelines in industry-recognized software development standards, such as ISO 26262 and DO-178C. Using this app, you can assess the:

  • Verification status and quality of your model based on the requirements, tests, and test results that trace to your design

  • Status of software-in-the-loop (SIL) testing for your generated code

  • Status of processor-in-the-loop (PIL) testing for your generated code

Model Testing Dashboard for a model in a project

Open the Model Testing 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 Testing Dashboard.

  • MATLAB command prompt: Enter modelTestingDashboard.

Examples

expand all

Open the Model Testing Dashboard on a project.

Open the example project cc_CruiseControl.

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

Open the Model Testing Dashboard.

modelTestingDashboard
The dashboard shows the verification status for the model cc_ControlMode. The dashboard widgets summarize the data so that you can track your requirements-based testing progress and fix the gaps that the dashboard highlights. You can click the widgets to open tables with detailed information, where you can find and fix the testing artifacts that do not meet the corresponding standards.

Open a SIL or PIL Code Testing dashboard on a project.

Open the example project cc_CruiseControl.

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

Open the Dashboard app.

modelTestingDashboard

In the toolstrip, in the Add Dashboard section, click either SIL Code Testing or PIL Code Testing.

The code testing dashboard opens in a new tab.

Related Examples

Version History

Introduced in R2020b