This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.



Get implementation of reporter


impl = getImpl(reporter,report)


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 reporter type object.

Example: for a title page reporter

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

Output Arguments

expand all

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


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.

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

Introduced in R2017b