transmitEvent(canch,msg,state)
enables or disables an event-based transmit of the CAN message,
msg, on the channel, according to the
state argument of 'On' or
'Off'. A typical event that triggers a transmission is a
change to the message Data property.
CAN channel, specified as a CAN channel object. This is the channel by
which you access the CAN bus, and the channel on which the specified message
is enabled for event-based transmit.
Message to transmit, specified as a CAN message object or array of message
objects. This is the message enabled for event-based transmission on the
specified CAN channel.
Enable event-based transmission, specified as 'On' or
'Off'.