Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syndeia 3.3 (Plugin for MagicDraw)
Tutorial Exercise 12.3
Generating a SysML State Machine from Stateflow

Image Removed

47 Perimeter Ctr E, Suite 410
Atlanta, GA 303046, USA
Voice: +1-404-592-6897
Web: www.intercax.com
Email: info@intercax.com

...

Objectives

The new learning objectives of this exercise are to generate a state machine structure in a MagicDraw SysML model from a state machine in Simulink Stateflow.

Preparation

This exercise assumes the student has

  • Cameo System Modeler 18.0 - 19.0 (or MagicDraw with SysML plug-in) installed correctly on his or her machine with a valid license for use, and
  • Syndeia 3.3 installed as a plugin for Cameo/MagicDraw with a valid license for use
  • Syndeia Stateflow interface, correctly installed with a valid license for user.
  • MATLAB/Simulink/Stateflow installed, licensed and available to the user,
  • A local operating system network connection in the Syndeia Repository Manager

The user can use any local operating system network connection they have available. It is generally advisable to carry out these exercises in a non-production repository, a "sandbox", set up for training and practice purposes.

  • Completed Exercise 12.2 and either still has the SysML model open or has saved and reopened it.

Exercise

...

Image Removed

...

  1. We start from the model at the end of Exercise 12.2. Save and close the Stateflow model.
  1. Create an empty package in the Syndeia Tutorial Testbed.mdzip SysML model (Three State Model Part 2 in this example).
  1. In Syndeia, go to the Connection Manager tab. Navigate through the SysML model in the left column to show the Three State Model Part 2 package and your local operating system network connection on the right side to show the StateFlow model 1_Demo_ Stateflow, as in in Figure 2.
  1. Select Model Transform for Connection Type in the central column. Drag and drop the ThreeStates statechart onto the destination folder in the local operating system. Click Yes to confirm.

...

Image Removed

...

Image Removed

...

Image Removed

...

Video

SysML to Stateflow Model Transform

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width820px
urlhttps://www.youtube.com/watch?v=8S-uToY6KAc&list
height400px

...

Exercises

...

Model

Syndeia Tutorial Testbed.mdzip