The CAN Receive Workflow shows how to receive and unpack CAN messages, using receive and unpack functions. You can also use the CAN Receive block to build a receive Simulink block.
|MessageReceivedFcn||Specify function to run|
|MessageReceivedFcnCount||Specify number of messages available before function is triggered|
|MessagesAvailable||Display number of messages available to be received by CAN channel|
|MessagesReceived||Display number of messages received by CAN channel|
|MessagesTransmitted||Display number of messages transmitted by CAN channel|