You have several options to start a statechart simulation.
The most direct way is to start the simulation based on the statechart model file.
Selecting Run As → Statechart Simulation in the context menu
In order to re-run the simulation you have most recently executed, simply
[Ctrl+F11] on the keyboard
To be exact, this operation does not necessarily re-run the last
simulation, but rather the last executed
launch. So if, for example, you first run a statechart simulation followed by running a Java program, then upon pressing
[Ctrl+F11] that Java program is executed once again, not the statechart simulation.
Let’s consider a scenario where you want to execute a simulation that you have run before, but not as the most recently executed launch. So you cannot use the procedure described in section "Repeating the last simulation".
However, as long as you haven’t launched too many other programs in between, chances are good to find your simulation in the history.
Try the following:
When a statechart is simulated for the first time, a launch configuration is automatically created. A launch configuration describes the parameters used for a particular launch. In case of a statechart simulation, it describes which statechart is to be simulated and the simulation mode (event-driven or cycle-based). For details on how to create and modify a launch configuration, see section "Configuring a simulation".
To execute an existing launch configuration, proceed as follows: