slreportgen.finder.DiagramElementResult Class
R2026bNamespace: slreportgen.finder
Create diagram element finder result object
Description
Diagram element search result object for an element in a Simulink® or Stateflow® diagram.
When you add a DiagramElementResult object to a report or reporter, the
object uses its getReporter method to generate a properties table for
the element. If the element contains a diagram such as a subsystem block or a
Stateflow chart, use the getDiagramReporter method to obtain a
reporter that generates a snapshot of that diagram.
The slreportgen.finder.DiagramElementResult class is a handle class.
Creation
Description
creates a search result object for a diagram element. The
result = DiagramElementResult(elem)result object contains the specified Simulink or Stateflow diagram element.
Note
The find methods of diagram element finders create and return
instances of this
slreportgen.finder.DiagramElementResult object.
You do not need to create instances yourself.
sets properties using name-value arguments. You can specify multiple
name-value arguments in any order.finder = DiagramElementResult(PropertyName=Value)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b
