MATLAB Report Generator
Design and automatically generate reports from MATLAB applications
MATLAB Report Generator™ provides functions and APIs that integrate reporting capabilities into MATLAB® applications. You can develop programs that generate reports in PDF, Microsoft® Word, Microsoft PowerPoint®, and HTML. MATLAB Report Generator enables you to dynamically capture results and figures from your MATLAB code and document those results in a single report that can be shared with others in your organization. You can use the prebuilt, customizable Word and HTML templates or design reports based on your organization’s templates and standards.
Automate Report Generation from MATLAB Applications
Share the results of your MATLAB applications by building report programs that produce highly customized reports. Apply a programmatic approach in which you write MATLAB code that uses MATLAB Report Generator APIs to format the results from your application and add those results to a report document.
Speed Development of Report Programs
Use a comprehensive library of report objects to accelerate and simplify report program development. Combine these objects with any MATLAB function or construct.
Produce Richly-Formatted Reports
Generate custom reports with results and figures from your MATLAB code by automatically formatting your document using a library of report objects.
Generate Reports in PDF, Microsoft Word, and HTML
Use one report program to create documents in multiple formats.
Automate Generation of PowerPoint Presentations
Create and update PowerPoint presentations programmatically by using the MATLAB API for PowerPoint (PPT API). Replace content and add content to existing PowerPoint presentations, or generate completely new PowerPoint presentations.
Share MATLAB Results in Presentations
Automate the formatting of your presentation with the PPT API. Use the default template from the API or your own custom PowerPoint template.
Keep Presentations Up-To-Date
When new results become available, add content to an existing presentation or replace outdated content with the newer version.
Use Templates for Automated Reporting
Use templates to specify regions of fixed text and leave blank regions (or holes) for dynamic content. Use a forms-based approach to fill in the blanks with content generated from MATLAB using MATLAB Report Generator APIs.
Use Templates for Supported Output Formats￼
Define report layouts and formatting with PDF, Microsoft Word, and HTML templates.
Reuse Templates to Accelerate Report Automation
Tailor existing reports to meet new formatting requirements, such as adding logos and footnotes, changing page orientation, and defining specific font types and sizes for table headings.
Separate Templates and Code to Simplify Maintenance
Modify report layouts and formatting by changing just the report template, not the code.
Use MATLAB objects to generate title pages, tables of contents, chapters, figures, and other report elements.
Report API Examples
Examples have been added to the documentation under MATLAB Report Generator Task Examples. These examples illustrate using the Report API to generate and format common types of report content, such as wide tables fitting on a page and side-by-side images, figures, and tables.
Create a Custom Reporter
A new method, mlreportgen.report.Reporter.customizeReporter, has been added to the Report API Reporter class. Use this method to create a skeleton reporter that you can use as a starting point for creating a custom reporter.
Report Explorer-Based Reporter
mlreportgen.report.RptFile creates a reporter from a Report Explorer .rpt setup file. Adding this reporter to a Report API report setup file generates the setup file contents and adds the contents to the report.
Include tables sliced by column to fit on report pages