Main Content


Class: slreportgen.finder.DiagramElementResult
Package: slreportgen.finder

Get diagram element reporter


reporter = getReporter(result)


reporter = getReporter(result) returns a reporter that generates a properties table for the diagram element returned in this result. A report or reporter to which a diagram element result is added invokes this method to generate a properties table for the element in the result. If you need to customize a properties table, you can invoke this method to get the properties reporter. Then, modify the reporter and add the modified properties reporter to the target report or reporter.

Input Arguments

expand all

DiagramElementFinder object, which you create using slreportgen.finder.DiagramElementFinder.

Output Arguments

expand all

Diagram element reporter object, returned as an slreportgen.finder.SimulinkObjectProperties object for block diagram elements. For Stateflow® chart elements, the returned object is an slreportgen.finder.StateflowObjectProperties reporter.

Introduced in R2017b