SimEvents
Description
- Introduction and Key Features
- Discrete-Event Simulation in Simulink
- Predefined and Domain-Specific Libraries
- Analysis and Visualization of Results
Analysis and Visualization of Results
You can gain insight into the behavior of your model by:
- Animating
- Using statistics and scopes
- Debugging
Animation
SimEvents support of animation lets you examine the execution behavior of a SimEvents model. You can observe both entity movement and the production and use of events in event-based blocks. For event-based signals, animation illustrates the execution sequence of computation blocks in response to events.

Animation of a SimEvents model showing the flow of entities, as well as the number of entities in the queue and server during a simulation.
Statistics and Scopes
Most SimEvents blocks can output statistics that let you monitor aggregate measures, such as average service times, queue lengths, and server utilization. Custom scopes enable you to visualize these signals using familiar staircase and stem plots.

Model of an Ethernet local area network using statistics and scopes to analyze the throughput (bottom left) and channel utilization (bottom right) of the MAC Controller (B) subsystem.
SimEvents Debugger
The SimEvents debugger lets you use MATLAB® functions to suspend a simulation at each step or breakpoint to query simulation behavior. The debugger also creates a simulation log for further inspection of detailed information. You can debug both discrete-event and hybrid simulations by closely inspecting the events and blocks that process them.


