Main Content

CAN Interface

Read and write CAN messages to CAN shields on Raspberry Pi® hardware

Write and read CAN messages via CAN channel. Create the raspi object before you use CAN shield functions.

Objects

canChannelConnection to CAN channel connected to a specified device (Since R2021b)

Functions

readRead messages from CAN channel (Since R2021b)
writeWrite messages to CAN channel (Since R2021b)
enableCANEnable CAN interface (Since R2021b)
disableCANDisable CAN interface (Since R2021b)