Main Content

slreportgen.utils.isStateTransitionTableBlock

Check if object is Transition Table block

Description

tf = slreportgen.utils.isStateTransitionTableBlock(obj) tests whether the input obj is a Stateflow® State Transition Table block.

example

Examples

collapse all

load_system("sf_car")
tf = slreportgen.utils.isStateTransitionTableBlock...
   ("sf_car/shift_logic/downshifting")
tf = logical
   0

In this case, the downshifting object in the Stateflow shift_logic chart of the sf_car model is not a State Transition Table block.

Input Arguments

collapse all

Object to check for being a Stateflow Transition Table block, specified as a string or character array of the object path or handle.

Output Arguments

collapse all

Whether input is a State Transition Table block, returned as 1 (true) if the input is a State Transition Table block. Otherwise, it returns 0 (false).

Version History

Introduced in R2018b