SysML to Stateflow Generation.
This section demonstrates how to use a SysML State Machine to generate and connect to a Stateflow State Chart.
- Open Syndeia Stateflow Examples model. We will demonstrate the Syndeia Stateflow interface using the ThreeStates State Machine in the Three State Model package shown below.
- Launch Syndeia Dashboard and expand to view the contents of the ThreeStates state machine in package Three State Model.
- Drag State Machine from SysML to an empty folder in a Local File System repository (add one in the Repository Manager tab and select on RHS of Connection Manager tab if you have not yet done so) then select ‘Yes’ to generate a Simulink model containing a Stateflow State Chart.
- Expand newly-created Simulink Model to view new Stateflow State Chart and its contents
- Right-Click > Open to view the Simulink Model
- Double-click the state chart in the model after it opens to view states and transitions
- Arrange the states and transitions and add any state or transition actions from here. Later versions of Syndeia will begin to automate transfer of this additional information.