Main Content

slreportgen.finder.StateflowObjectResult Class

Namespace: slreportgen.finder
Superclasses: slreportgen.finder.StateflowObjectFinder

Create Stateflow result object

Since R2023a

Description

Objects of the slreportgen.finder.StateflowObjectResult class contain the search results for an object in a Stateflow® chart. Objects of the slreportgen.finder.StateflowObjectResult class contain the search results for an object in a Stateflow chart. You can add a table of properties for the objects in the search results by adding the StateflowObjectResult object to an slreportgen.report.Report object.

The slreportgen.finder.StateflowObjectResult class is a handle class.

Creation

Description

result = StateflowObjectResult(obj) creates a search result object for a state, annotation, or other Stateflow object, obj.

finder = StateflowObjectResult(Name=Value) sets properties using name-value pairs. You can specify multiple name-value pair arguments in any order.

Input Arguments

expand all

Stateflow object, specified as a path or handle to the object.

Properties

expand all

Public Properties

Additional user-defined information to add to the result, specified as any value.

Attributes:

NonCopyable
true

Protected Properties

Object handle, returned as a handle to the Stateflow object returned by the StateflowObjectResult object.

Name of object returned by the StateflowObjectResult object, returned as a string.

Object type for the object returned by the StateflowObjectResult object, returned as a string.

Example: "Stateflow.Chart"

Path of the diagram that contains the object returned by the StateflowObjectResult object, returned as a string.

Methods

expand all

Version History

Introduced in R2023a