Main Content
getBlocksToNotify
Class: simevents.SimulationObserver
Namespace: simevents
Specify list of blocks to be notified of entity entry and exit events
Syntax
getBlocksToNotify(obj)
Description
getBlocksToNotify(
is
used to specify a cell array of block paths that are notified by the
SimulationObserver object. These blocks have to be discrete event
blocks with entity storages. Override this function in your subclass
to specify a cell array of blocks for which obj
)preExit
and postEntry
methods will
be called. Specify 'ALL'
to run these
methods on all the discrete-event blocks with entity storages in the
model. If you do not want any blocks to be notified, specify an empty
cell array, {}
.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016a