generateReport
Generate report file containing metric results
Syntax
Description
generates a model maintainability report for the metric engine.reportFile = generateReport(metricEngine,Dashboard="ModelMaintainability")
generates a model testing report for the metric engine.reportFile = generateReport(metricEngine,Dashboard="ModelUnitTesting")
generates a SIL code testing report for the metric engine.reportFile = generateReport(metricEngine,Dashboard="ModelUnitSILTesting")
generates a project model testing report for the metric engine.reportFile = generateReport(metricEngine,Dashboard="ProjectModelTesting")
specifies options using one or more name-value arguments. For example,
reportFile = generateReport(___,Name=Value)Type="html-file" generates an HTML report.
Note that there is also a function generateReport (Fixed-Point Designer) in the Fixed-Point Designer™ documentation.
Examples
Input Arguments
Name-Value 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 box 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 R2021aSee Also
metric.Engine | execute | getArtifactErrors | getAvailableMetricIds | getMetrics | openArtifact | updateArtifacts