getDiagramReporter
Class: slreportgen.finder.DiagramElementResult
Namespace: slreportgen.finder
Returns Diagram reporter for diagram element result
Syntax
reporter = getDiagramReporter(result)
Description
returns a reporter that generates a snapshot of the element returned in the diagram element
result, or empty, reporter
= getDiagramReporter(result
)[]
. If the result contains a diagram element, such as a
Simulink® block, or Stateflow® chart or subchart, that contains a diagram, this method returns a reporter that
generates a snapshot of the diagram. Otherwise, it returns empty, []
. For
example, this method returns a diagram reporter for chart and subchart results but
[]
for state results, which do not contain diagrams. To include the
diagram of an applicable search result in a report, add this reporter to the report, either
directly or via a Chapter or Section reporter.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2018b