SysML to Stateflow Generation

This section demonstrates how to use a SysML State Machine to generate and connect to a Stateflow State Chart.

  1. 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.



  2. Launch Syndeia Dashboard and expand to view the contents of the ThreeStates state machine in package Three State Model.



  3. 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.



  4. Expand newly-created Simulink Model to view new Stateflow State Chart and its contents.



  5. Right-Click > Open to view the Simulink Model



  6. Double-click the state chart in the model after it opens to view states and transitions



  7. 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. 

Copyright 2018 Intercax.