Main Content

modelTestingDashboard

Open Model Testing Dashboard

Description

example

modelTestingDashboard opens the Model Testing Dashboard for the current project.

example

modelTestingDashboard(projectPath) opens the Model Testing Dashboard for the project at the specified path.

Examples

collapse all

Assess the testing status of a Simulink® project by using the Model Testing Dashboard.

Open the project. At the command line, type dashboardCCProjectStart.

dashboardCCProjectStart

Open the Model Testing Dashboard for the project.

modelTestingDashboard

In the dialog box, click Trace and Collect All. The dashboard collects metric data for the requirements-based testing artifacts in the project and displays the results in the widgets.

Open the Model Testing Dashboard for a project at a path that you specify.

Assign the variable projectPath to the path to the root folder of the project. For this example, the path is C:/projects/TestingProject/.

projectPath = 'C:/projects/TestingProject/';

Open the Model Testing Dashboard for the project at the path.

modelTestingDashboard(projectPath)

If you have previously opened the dashboard for the project, the dashboard populates with existing traceability and metric data. If you have not used the dashboard for the project, in the dialog box, click Trace and Collect All. The dashboard collects metric data for the requirements-based testing artifacts in the project and displays the results in the widgets.

Input Arguments

collapse all

Path to the project file or project root folder for which you want to open the dashboard, specified as a character vector or string scalar.

Example: 'C:/projects/project1/myProject.prj'

Example: 'C:/projects/project1/'

Introduced in R2020b