This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Stateflow Count

Count number of Stateflow objects in current context


This component counts the number of Stateflow® objects in the current context.


  • Search depth: Specifies the search depth for the count.

    • Immediate children only (default): Searches only children one level under the Stateflow object.

    • All descendants: Searches all children of the Stateflow object.

  • Sort results: Specifies the sort method for the count results.

    • Numerically decreasing by object count (Default)

    • Alphabetically increasing by object type

  • Include a list of objects in table: Inserts a column containing the counted objects.

  • Show total count: Displays a total of counted objects.

Insert Anything into Report?

Yes. Table.



See Also

State Loop

Was this topic helpful?