Getting Started with the Report API
In this video, you will learn how to get started with MATLAB Report Generator™ to generate highly customizable reports. You can use the Document Object Model, or DOM API, and the Report API to create MATLAB programs that automate report generation in PDF, HTML, and Microsoft Word formats.
The DOM API is a package that contains low-level objects and functions that enable you to have fine-grained control over your report customizations. This API contains objects like Document container, Heading, Paragraph, Text, Table, Image, Ordered and Unordered Lists, and more.
The Report API is an extension of the DOM, and it includes a set of high-level preformatted objects for creating book-style reports. Objects in the Report API include Report container, Title Page, Table Of Contents, Chapter, Section, Figure, Base Table, Equation, and more. These high-level preformatted objects are called reporters. Using reporters can greatly reduce the development time and lines code of your MATLAB program because reporters do some of the work for you.
A typical report program includes functionality from both APIs, as you can add any DOM or Report API object to a Report container; the only exception is another Report or Document container. Note that unlike the Report object, the Document container can only include DOM API elements.
Published: 21 Jun 2018
Related Products
Learn More
Featured Product
MATLAB Report Generator
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)