slreportgen.finder.StateFinder Class
Namespace: slreportgen.finder
Find Stateflow states
Creation
Description
creates a finder that finds by default all uncommented Stateflow states in the specified chart finder
= StateFinder(diagram
)diagram
. To
constrain the search to specific types of chart diagrams, use the properties
of this finder.
Note
This finder provides these options 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 pairs. You can specify multiple name-value
pair arguments in any order.finder
= StateFinder(Name=Value
)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b