Main Content

removeBlockNotification

Class: simevents.SimulationObserver
Namespace: simevents

Remove block from list of blocks being notified

Syntax

removeBlockNotification(obj,blkPath)

Description

removeBlockNotification(obj,blkPath) is a utility function used to remove a block from the list of blocks being notified. Specify the full path of the block to be added in blkPath.

Input Arguments

expand all

Object of class SimulationObserver

Full path of the block to be added to the list of blocks being notified.

Examples

expand all

Remove block from list of blocks being notified.

function postEntry(obj,eventSource,eventData)
   if someCondtionIsTrue
      removeBlockNotification(obj,[this.mModel '/Patron Enter']);
   end
end

Version History

Introduced in R2016a