slreportgen.finder.SystemDiagramFinder Class
Namespace: slreportgen.finder
Superclasses: slreportgen.finder.DiagramFinder
Create block diagram finder
Description
Create Simulink® block diagram finder.
The slreportgen.finder.SystemDiagramFinder
class is a handle
class.
Creation
Description
creates a finder that finds by default all uncommented Simulink block diagrams in the specified container, which can be a
Simulink model or subsystem. To constrain the search to specific types
of models or subsystems, use the properties of the finder. finder
= SystemDiagramFinder(container
)
Note
This finder can operate in either find or iterator mode. In find mode, use its find
method to return the results of a search as an array of results. In iterator mode, use its hasNext
and next
methods to return the results of a search one-by-one. When searching in models that have many model references, use iterator mode. Iterator mode closes a model after compiling and searching it, whereas find mode keeps all the models that it searches open. Having many open models can consume all system memory and slow report generation. Iterator mode is slower than find mode, so use find mode to search models that reference few or no other models.
sets properties using name-value pairs. You can specify multiple name-value
pair arguments in any order.finder
= SystemDiagramFinder(Name=Value
)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b