Main Content

Resolve Error from Closing a PDF Document on a Cloud Drive

Issue

Generating a PDF report on MATLAB® Drive™ or other cloud drive can result in an error that is caused by file contention between the report generation software and the cloud drive synchronization software. The error is similar to:

Error using mlreportgen.report.internal.Document/closeError closing document package: No content type was found for part:/.MATLABDriveTagError in mlreportgen.report.ReportBase/close

Possible Solutions

Generate PDF reports on a local drive that does not synchronize with the cloud. Consider writing a script that generates a report on a local drive and then copies the report to the cloud drive.

See Also

| | (Simulink Report Generator)