Documentation

slreportgen.finder.DiagramResult class

Package: slreportgen.finder
Superclasses:

Create diagram result finder object

Description

Diagram search result object for a Simulink® or Stateflow® diagram.

finder = DiagramResult(Name,Value) sets properties using name-value pairs. You can specify multiple name-value pair arguments in any order. Enclose each property name in single quotes.

Construction

result = DiagramResult(diagram) creates a search result object for a Simulink or Stateflow diagram. The result object contains the specified Simulink or Stateflow diagram. Diagram finder find methods create and return instances of this object for each diagram that they find. You do not need to create this object yourself.

Input Arguments

expand all

Simulink or Stateflow diagram, specified by its path or its handle.

Properties

expand all

This read-only property contains a handle to the diagram returned by this result.

This read-only property specifies the name of the model or block that contains the diagram returned by this result.

This read-only property specifies the type of the diagram returned by this result.

Example: "Simulink.BlockDiagram"

This read-only property returns the path of the container of the diagram returned by this result. An example of a container of a diagram is a subsystem block.

Example: "sf_car/Engine"

Additional information to add to this result. You can set it to any type of value.

Methods

getReporter Get diagram reporter

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects (MATLAB).

Introduced in R2017b

Was this topic helpful?