Skip to content

Category: Discrete Events

discrete event simulation event generator

sySchedulerOutput

Provides additional return values from syScheduler().

Syntax

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.

Remarks

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.

Examples

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