generateReport
Syntax
Description
creates a PDF report in the root folder of the project for the metric results in the Model
Testing Dashboard for the metric engine, reportFile
= generateReport(metricEngine
)metricEngine
. Before you
generate the report, collect metric results for the metric engine by using the execute
function.
creates a PDF report in the root folder of the project of the metric results in the
reportFile
= generateReport(metricEngine
,'App','DashboardApp','Dashboard',dashboardIdentifier
)dashboardIdentifier
dashboard for the metric engine,
metricEngine
. Before you generate the report, collect metric results
for the engine by using the execute
function.
Note that there is also a function generateReport
(Fixed-Point Designer) in the Fixed-Point Designer™ documentation.
specifies options using one or more name-value arguments. For example,
reportFile
= generateReport(___,Name,Value
)'Type','html-file'
generates an HTML report.
Examples
Input Arguments
Output Arguments
Alternative Functionality
App
You can use the dashboard user interface to generate a report.
To open the dashboard user interface, use one of these approaches:
In the Command Window, enter:
The dashboard opens the Model Maintainability Dashboard.modelDesignDashboard
In the Command Window, enter:
The dashboard opens the Model Testing Dashboard.modelTestingDashboard
Click the Report button on the toolstrip. The Create Metric Result Report dialog opens. Click Create to create a report.
For an example of how to use the dashboard user interface, see Monitor Design Complexity Using Model Maintainability Dashboard.
Version History
Introduced in R2021a
See Also
metric.Engine
| execute
| getArtifactErrors
| getAvailableMetricIds
| getMetrics
| openArtifact
| updateArtifacts