Skip to content

Category: Discrete Events

discrete event simulation event generator


Provides additional return values from syScheduler().


sySchedulerOutput(Scheduler, [OutputID])

The sySchedulerOutput function syntax has the following arguments:

  • Scheduler: required. Reference to a cell with syScheduler() element.
  • OutputID: optional. Return value ID from syScheduler(): 1 - cumulative number of events that had been emmited.

Return value is according to one of the options set by OutputID argument.


Sometimes, especially if we are just developing the model or as a system's control, we need the information about the number of all emmited events from syClock's TimeStart until current timestep.


  • sySchedulerOutput(A5) - The result is the total number of events emmited from the start of the simulation time in current realization until current timestep.