slreportgen.finder.AnnotationFinder Class
Namespace: slreportgen.finder
Superclasses: mlreportgen.finder.Finder
Find Simulink annotation objects
Description
Find annotation objects in a Simulink® or Stateflow® diagram.
The slreportgen.finder.AnnotationFinder class is a handle class.
Creation
Description
creates a finder that finds by default all annotations in the specified
diagram. To constrain the search to specific types of annotations, use the
properties of this finder.finder = AnnotationFinder(diagram)
Note
This finder provides these options to get search results:
To return the search results as an array, use the
findmethod. 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
hasNextandnextmethods 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 = AnnotationFinder(Name=Value)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b