Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

What Is an Event?

Overview of Events

In a discrete-event simulation, an event is an instantaneous discrete incident that changes a state variable, an output, and/or the occurrence of other events. Examples of events that can occur during simulation of a SimEvents model are:

For a full list of supported events and more details on them, see Working with Events.

Relationships Among Events

Events in a simulation can depend on each other:

Events that occur at the same value of the simulation clock are called simultaneous events, even if the application processes sequentially. When simultaneous events are not causally related to each other, the processing sequence can significantly affect the simulation behavior. For an example, see the Event Priorities demo or Example: Choices of Values for Event Priorities. For more details, see Processing Sequence for Simultaneous Events.

Viewing Events

Events do not have a graphical representation. You can infer their occurrence by observing their consequences, by using the Instantaneous Event Counting Scope block, or by using the debugger. For details, see Observing Events, Simulation Log in the Debugger, or Viewing the Event Calendar .

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS