Stateflow.StateTransitionTableRow
R2026bDescription
Use Stateflow.StateTransitionTableRow objects to programmatically
read and modify rows in a Stateflow® state transition table. A row represents a state, a default transition path, or
an inner transition path in the table. For more information, see Model Finite State Machines Using State Transition Tables.
Creation
Syntax
Description
creates a row = stt.addStateRow()Stateflow.StateTransitionTableRow object by adding a state row
to the state transition table stt and returning the new row.
creates a row = stt.addDefaultTransitionPathRow()Stateflow.StateTransitionTableRow object by adding a default
transition path row to the state transition table stt and returning
the new row.
creates a row = parentRow.addChildStateRow()Stateflow.StateTransitionTableRow object by adding a child
state row to an existing row parentRow and returning the new
row.
creates a row = existingRow.addStateRowBelow()Stateflow.StateTransitionTableRow object by adding a state row
at the same level as the existing row existingRow and returning the
new row.
creates a row = parentRow.addInnerTransitionPathRow()Stateflow.StateTransitionTableRow object by adding an inner
transition path row to the existing row parentRow and returning the
new row.
creates a row = parentRow.addDefaultTransitionPathRow()Stateflow.StateTransitionTableRow object by adding a default
transition path row to the existing row parentRow and returning the
new row. This clears all default transitions at the current level.
Properties
Object Functions
addChildStateRow | Add child state row to state transition table row |
addStateRowBelow | Add sibling state row below existing row in state transition table |
addInnerTransitionPathRow | Add inner transition path row to state transition table row |
addDefaultTransitionPathRow | Add default transition path row to state transition table |
getRow | Get state row by name from state transition table or parent row |
getRows | Get all rows from state transition table or parent row |
getDefaultState | Get default state row from state transition table or parent row |
getParent | Identify parent of object |
getTransitionCell | Get transition cell at specified row and column index in state transition table |
deleteRow | Delete row from state transition table |
find | Identify specified objects in hierarchy |