MATLAB: How to create a sequence diagram in Stateflow 6.6 (R2007a) and derive a state machine from it

sequencestateflow

Most design specifications start with sequential diagrams. Since there is a one to one mapping between a sequence diagram and a state machine, I would like to
1. Derive a state machine from a sequence diagram.
2. Simulate a state machine based on a sequence diagram.
Is there a GUI feature that will use state machine API to dynamically link events and state transitions with a seqence diagram?

Best Answer

The ability to generate sequence diagrams given a state diagram and to generate a state machine based on a sequence diagram is not available in Stateflow 6.6 (R2007a).
There are no workarounds.