MATLAB Object-Oriented Programming

(Joyce) #1

Event Attributes


Specify Event Attributes


The following table lists the attributes you can set for events. To specify a value for an
attribute, assign the attribute value on the same line as the event keyword. For example,
all the events defined in the following events block have protected ListenAccess and
private NotifyAccess.

events (ListenAccess = protected, NotifyAccess = private)
EventName1
EventName2
end

To define other events in the same class definition that have different attribute settings,
create another events block.

Event Attributes
Free download pdf