Receive message from CAN network
Simulink Support Package for Raspberry Pi Hardware / Communication
The CAN Receive block receives messages from the CAN network. This block works only with CAN shield based on MCP2515. For information on MCP2515, see MCP2515. and delivers them to the Simulink® model.
The CAN Receive block supports Raw data
and
CAN Msg
as output types. To use CANdb (CAN database) file
or to specify signals manually, use CAN Msg
output type and
CAN Unpack block. The CAN Unpack block is available
from the Vehicle Network Toolbox. For information on CAN Unpack, see
CAN
Unpack.