SimEvents 2 supports the modeling of complex discrete-event and hybrid dynamic systems across the Simulink family of products. It is a models system functions and constraints with a network of queues, servers, gates and switches. In contrast to conventional discrete-event simulators, the software allows users to add an unlimited number of attributes, which represent data transport, to the entities flowing through the model. This capability enables modeling of complex algorithms at individual nodes, which can then be aggregated into a larger system. It is tightly integrated with Simulink and MATLAB to provide an environment for modeling multidomain or hybrid dynamic systems, such as sensor networks and distributed control systems, that contain a combination of continuous-time, discrete-time and discrete-event behavior. The software is also tightly integrated with Stateflow to model systems containing finite-state machines that may produce or be controlled by discrete events.