Main Content

exportReport

Create copy of Model Advisor report

Description

For a Model Advisor object, use the [output, message] = exportReport(ma, destination) function to create a copy of a Model Advisor report. The report includes the most recent results of running checks on the system corresponding to the Model Advisor object and the current selection status of checks, groups, and tasks for the system.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to export the corresponding Model Advisor report.

Path name to report file location.

Output Arguments

collapse all

A logical value indicating whether Simulink created a report in location that you specify by destination input argument. A value of 1 indicates success. A value of 0 indicates that Simulink did not create a copy of the report in the specified location.

This output argument is empty if a report is created. If a report was not created, this argument contains the reason why.

Version History

Introduced in R2006a