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