getImpl
Class: slreportgen.report.Reporter
Namespace: slreportgen.report
Syntax
impl = getImpl(reporter,report)
Description
returns the DOM object used to implement this reporter in the specified report. The
implementation object can help you debug report generation problems.impl
= getImpl(reporter
,report
)
Input Arguments
reporter
— Reporter
slreportgen.report.Reporter
object | object of subclass of slreportgen.report.Reporter
Reporter object, specified as an object of
slreportgen.report.Reporter
or subclass of
slreportgen.report.Reporter
.
Example: slreportgen.report.Diagram
for a diagram
reporter
report
— Report
slreportgen.report.Report
object
Report, specified as an slreportgen.report.Report
object.
Output Arguments
impl
— Implementation object
DOM object
Implementation object, returned as a DOM object. The DOM object is usually an mlreportgen.dom.DocumentPart
type object.
Examples
Get Reporter Implementation
Use the getImpl
method to obtain the DOM object used to create a diagram reporter. You can use the getImpl
method with any type of reporter.
load_system("vdp") import slreportgen.report.* import mlreportgen.report.* rpt = slreportgen.report.Report("output","pdf"); chapter = Chapter(); chapter.Title = "Diagram Reporter Example"; diagram = Diagram("vdp"); diagram.Snapshot.Caption = "The Van der Pol Equation"; diagram.SnapshotFormat = "svg"; diagram.Snapshot.Height = "4in"; getImpl(diagram,rpt)
ans = DocumentPart with properties: TemplateName: 'Diagram' TemplatePath: '/mathworks/devel/bat/filer/batfs2561-0/Bdoc24b.2679053/build/runnable/matlab/toolbox/shared/slreportgen/rpt/rpt/+slreportgen/+report/@Diagram/resources/templates/pdf/default.pdftx' Type: 'PDF' CurrentHoleId: '#end#' CurrentHoleType: 'Block' CurrentPageLayout: [] OpenStatus: 'open' Parent: [] Children: [1x3 mlreportgen.dom.Element] Tag: 'dom.LockedDocumentPart:52160' Id: '52160'
close(rpt);
Version History
Introduced in R2021a
See Also
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
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)