Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getImpl

Class: mlreportgen.report.Reporter
Package: mlreportgen.report

Get implementation of reporter

Syntax

impl = getImpl(reporter,report)

Description

impl = getImpl(reporter,report) returns the DOM object used to implement this reporter. If you examine the implementation file, it may help you to debug report generation problems.

Input Arguments

expand all

Reporter object, specified as an mlreportgen.report reporter type object.

Example: mlrportgen.report.TitlePage for a title page reporter

Report, specified as a report object. To create the report input, use mlreportgen.report.Report.

Output Arguments

expand all

Implementation object, returned as a DOM object. The DOM object is usually an mlreportgen.dom.DocumentPart type object.

Examples

Get Reporter Implementation

Obtain the DOM object used to create this reporter. This example shows how to use getImpl for a TitlePage reporter. You can use the getImpl method with any type of reporter.

import mlreportgen.report.*
rpt = Report('My Report');
tp = TitlePage;
tp.Title = 'Data Summary';
impl = getImpl(tp,rpt)

Introduced in R2017b

Was this topic helpful?