Main Content

modelDesignDashboard

R2026b

Open Model Design Dashboard

Since R2022b

    Description

    modelDesignDashboard opens the Model Design Dashboard for the current project. The Model Design Dashboard provides a high-level overview of design size, complexity, requirements traceability, diagnostics, and reuse for the models in your project.

    example

    modelDesignDashboard(projectPath) opens the Model Design Dashboard for the project at the specified path.

    example

    Examples

    collapse all

    Assess the design quality of a project by using the Model Design Dashboard.

    For this example, open an example project. In the MATLAB® Command Window, enter:

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

    Open the Model Design Dashboard for the project.

    modelDesignDashboard

    Open the Model Design 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 Design Dashboard for the project at the path.

    modelDesignDashboard(projectPath)

    If you have previously opened the dashboard for the project, the dashboard populates with existing traceability and metric results. The dashboard collects metric results for the design 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/"

    Alternative Functionality

    App

    You can also open the dashboard for the current project by clicking Model Design Dashboard on the Project tab.

    Version History

    Introduced in R2022b

    expand all