Return transitions that have object as destination
transitions = thisObject.sinkedTransitions
sinkedTransitions method returns all
inner and outer transitions that have this object as their destination.
Destination object of the returned transitions. Can be of type State, Box, or Junction.
Array of all transitions whose destination is this object.
The following example shows how to find all transitions whose
destination is the state named
sf_car; rt = sfroot; ss_state = rt.find('-isa','Stateflow.State','Name','steady_state'); sinked_trans = ss_state.sinkedTransitions;