Package: slreportgen.finder
Superclasses: mlreportgen.finder.Finder
Finds variables used by a Simulink model
Find variables used by a Simulink® model.
The slreportgen.finder.ModelVariableFinder
class is a handle
class.
creates a finder that finds variables used in the specified
finder
= slreportgen.finder.ModelVariableFinder(container
)container
, which can be a Simulink model or subsystem. See the Container
property. You can constrain the search by setting the properties of the finder. Use the
methods of the finder to perform the search.
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 a
for
loop.
To iterate through the results one at a time, use the hasNext
and next
methods in a while
loop.
Neither option has a performance advantage.
sets properties using name-value pairs. You can specify multiple name-value pair arguments
in any order. Enclose each property name in single or double quotes.finder
= slreportgen.finder.ModelVariableFinder(Name,Value
)
Simulink.findVars
| Simulink.VariableUsage
| slreportgen.finder.ModelVariableResult
| slreportgen.report.BusObject
| slreportgen.report.ModelVariable