transmit
Send CAN messages to CAN bus
Syntax
Description
transmit(
sends the specified messages onto the bus via the CAN channel. canch,msgs)
For more information on the elements of a message, see canMessage.
Note
The transmit function ignores the
Timestamp property and the
Error property.
CAN is a peer-to-peer network, so when transmitting messages on a physical bus at least one other node must be present to properly acknowledge the message. Without another node, the transmission will fail as an error frame, and the device will continually retry to transmit.
Examples
Input Arguments
Version History
Introduced in R2009a