slreportgen.finder.StateflowDiagramElementFinder class
Package: slreportgen.finder
Superclasses: slreportgen.finder.StateflowObjectFinder
Find Stateflow diagram elements
Description
StateflowDiagramElementFinder
creates a finder object that finds
elements in a Stateflow® chart diagram.
The slreportgen.finder.StateflowDiagramElementFinder
class is a handle
class.
Creation
Description
creates a finder that finds elements of a Stateflow chart diagram. By default this finder finds states,
transitions, truth tables, and other elements in the specified Stateflow chart diagram. Use the properties of the finder to constrain
the search to specific types of elements.finder
= StateflowDiagramElementFinder(diagram
)
Note
This finder provides two ways to get search results:
To return the search results as an array, use the
find
method. Add the results directly to a report or process the results in afor
loop.To iterate through the results one at a time, use the
hasNext
andnext
methods in awhile
loop.
Neither option has a performance advantage.
sets properties using name-value arguments. You can specify multiple
name-value arguments in any order.finder
= StateflowDiagramElementFinder(Name=Value
)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b