Main Content

slreportgen.utils.isStateTransitionTableBlock

(To be removed) Check if object is State Transition Table block

slreportgen.utils.isStateTransitionTableBlock will be removed in a future release. Use slreportgen.utils.isStateTransitionTable instead (since R2022a). For information on updating your code, see Version History.

Description

tf = slreportgen.utils.isStateTransitionTableBlock(obj) returns 1 (true) if the input obj is a State Transition Table block. Otherwise, the function returns 0 (false).

example

Examples

collapse all

Open the model sf_stt_boiler.

openExample("sf_stt_boiler")

Test whether the block State Transition Table is a state transition table.

path = "sf_stt_boiler/State Transition Table";
slreportgen.utils.isStateTransitionTableBlock(path)
ans =

  logical

   1

Input Arguments

collapse all

Block to check for being a state transition table, specified as a string scalar or character array that contains the block path.

Version History

Introduced in R2018b

collapse all