Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id798415423
Content column
id798415426
Content block
id798415424

This section guides you through the steps required to create a stopwatch model in Cameo Simulation ToolkitMagic Model Analyst. You will learn how to create a new UML project as the first step, followed by creating the stopwatch structure through defining the stopwatch Classifier and its structural features and adding a Time attribute. In the next step, you will define the stopwatch Classifier Behavior by using the State Machine Behavior (shown in this example). You will also be guided through creating an initial stage, the ready, running, paused, stopped and final States, transition, Package of Signal elements, and Signal Events for transitions for the stopwatch State Machine diagram. The last two sections explain new operations required for defining the elapsed time and adding Activities to the ready and running States, resetting the elapsed time to zero, and increasing the elapsed time by one.

Content block
id798415422

Related pages

Children Display