slreportgen.finder.DiagramFinder Class
Namespace: slreportgen.finder
Superclasses: mlreportgen.finder.Finder
Create finder for diagrams
Description
Use an object of the slreportgen.finder.DiagramFinder class to find Simulink® diagrams and Stateflow® charts.
The slreportgen.finder.DiagramFinder class is a handle class.
Creation
Description
creates a finder that finds Simulink block diagrams and Stateflow chart in the specified finder = DiagramFinder(container)container. To
constrain the search to include only specific types of diagrams or charts,
use the properties of this finder.
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 arguments. You can specify multiple
name-value arguments in any order.finder = DiagramFinder(PropertyName=Value)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b