transmitEvent(canch,msg,state)enables or disables an event-based transmit of the CAN message,msg, on the channel, according to thestateargument of'On'or'Off'. A typical event that triggers a transmission is a change to the messageDataproperty.
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.
msg—Message to transmit CAN message object or array of objects
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.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.