Report Generator Creation
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.
Report Containers and Base Classes
|Superclass for MATLAB reporters|
|Base class for finders|
|Base class for finder results|
Progress, Error, Warning, and Debug Messages
|DOM message dispatcher|
|Holds message triggering message event|
|Filter to control message dispatcher|
Report Display and Conversion
|Display report or presentation|
|View or perform operations on Word document|
|Convert DocBook XML files generated by Report Explorer to formatted reports|
- Create Report Programs
Get an overview and general information about creating a report program.
Required Report Tasks and Elements
- Create Report Containers
Create report object to hold report content.
- Construct Report API or DOM API Objects
Construct objects using API classes.
- Add Content to Reports
appendto add content to Report API or DOM API reports and report elements.
- Close Reports
The last step in creating a report with the DOM API is to close the report.
Optional Report Tasks and Elements
- Import API Packages
Import packages so that you do not have to use long, fully qualified class names.
- Display Progress and Debugger Messages
Specify messages to display when generating a report.
- Display Reports
Display the generated report in a viewer.
- Create Standalone Applications from Report Programs
Enable sharing of report generation programs with users who do not have MATLAB installed.
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.