Main Content

Report Generator Creation

Create a MATLAB® program to generate a Microsoft® Word, HTML, or PDF report

Use the MATLAB Report Generator™ application programming interface (API) to create programs to generate reports. To get started, see Create Report Programs. Other topics below have details about the required and optional tasks, and the elements that make up a report generator program. For general information on reporters, see What Are Reporters?

To share your report generation program with others who do not have MATLAB installed on their systems, see Create Standalone Applications from Report Programs.

Functions

expand all

rptviewDisplay report or presentation
docviewView or perform operations on Word document
rptconvertConvert DocBook XML files generated by Report Explorer to formatted reports
mlreportgen.dom.enableDOCXUpdateOnOpenDisplay dialog box when DOCX document opens (Since R2022b)

Topics

Overview

Required Report Tasks and Elements

Optional Report Tasks and Elements

Troubleshooting

Resolve Errors Stemming from Closing PDF Documents on Cloud Drives

Troubleshoot an error that is caused by file contention during PDF generation on a cloud drive.

Featured Examples