Main Content

modelDesignDashboard

Open Model Maintainability Dashboard

Since R2022b

    Description

    example

    modelDesignDashboard opens the Model Maintainability Dashboard for the current project. The Model Maintainability Dashboard is a type of Model Design Dashboard.

    example

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

    Examples

    collapse all

    Assess the maintainability and complexity of a project by using the Model Maintainability Dashboard.

    For this example, you can open an example project. For this example, in the MATLAB® Command Window, enter:

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

    Open the Model Maintainability Dashboard for the project.

    modelDesignDashboard

    Open the Model Maintainability 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 Maintainability 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