Main Content

notifyEventCalendarEvents

Class: simevents.SimulationObserver
Namespace: simevents

Specify whether you want notification for all events in event calendar

Syntax

notifyEventCalendarEvents(obj)

Description

notifyEventCalendarEvents(obj) is specifies whether you want notification for all events in the event calendar before they are executed. Set the output of this method to true to call the preExecute method for all events in the event calendar.

Input Arguments

expand all

Object of class SimulationObserver

Output Arguments

expand all

Boolean that specifies whether you are notified of all events in the event calendar before executing. If set to true, the preExecute method is called for every event before its execution.

Examples

expand all

Specify whether you want notification for all events in event calendar.

function status=notifyEventCalendarEvents(obj)
   status=false;
end

Version History

Introduced in R2016a