(Not recommended) Event information for OPC callbacks
Support for the OPC Data Access (DA) standard will be removed in a future release. Instead use OPC Unified Architecture (UA). See Compatibility Considerations.
opccallback(Obj,Event) displays a message
in the MATLAB® Command Window that contains information about an OPC event. The
message includes the type of event, the time the event occurred, and the related
data for that event.
Obj is the object associated with the event.
Event is a structure that contains the
Type is the event type.
Data is a
structure containing event-specific information.
opccallback is an example callback function. Use this callback
function as a template for writing your own callback function. By default,
@opccallback is the value for the
CancelAsyncFcn properties of a
object, and for the
properties of an