Main Content

报告生成器创建

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

Use theMATLAB Report Generator™application programming interface (API) to create programs to generate reports. To get started, seeCreate a Report Program. 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, seeWhat Is a Reporter?

To share your report generation program with others who do not have MATLAB installed on their systems, seeCreate a Standalone Application from a Report Program.

Classes

expand all

mlreportgen.report.Report Report container
mlreportgen.dom.Document Document container
mlreportgen.report.Reporter 超级阶级MATLABreporters
mlreportgen.finder.finder Create A MATLAB Finder
mlreportgen.finder.Result Base class for finder results
mlreportgen.dom.MessageDispatcher DOM message dispatcher
mlreportgen.dom.MessageEventData Holds message triggering message event
mlreportgen.dom.MessageFilter Filter to control message dispatcher
mlreportgen.dom.DebugMessage Debugging message
mlreportgen.dom.ErrorMessage Error message
mlreportgen.dom.ProgressMessage Progress message
mlreportgen.dom.WarningMessage Warning message

Functions

expand all

rptview Display report or presentation
docview View or perform operations on Word document
rptconvert Convert DocBook XML files into supported document formats

Topics

Overview

要求的事情uired Report Tasks and Elements

Optional Report Tasks and Elements

Troubleshooting

Resolve Error from Closing a PDF Document on a Cloud Drive

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