Main Content

Communication in Simulink

Vehicle network communication in Simulink® using XCP over CAN or UDP

The Vehicle Network Toolbox™ block library includes a set of XCP communication blocks, divided into two groups, XCP CAN and XCP UDP, which allow you to perform XCP communication over CAN or UDP in Simulink models.

Blocks

expand all

XCP CAN ConfigurationConfigure XCP server connection
XCP CAN Transport LayerTransport XCP messages via CAN
XCP CAN Data AcquisitionAcquire selected measurements from configured server connection
XCP CAN Data StimulationPerform data stimulation on selected measurements
XCP CAN FD ConfigurationConfigure XCP server connection (Since R2022b)
XCP CAN FD Transport LayerTransport XCP messages via CAN FD (Since R2022b)
XCP CAN FD Data AcquisitionAcquire selected measurements from configured server connection (Since R2022b)
XCP CAN FD Data StimulationPerform data stimulation on selected measurements (Since R2022b)
XCP UDP ConfigurationConfigure XCP UDP server connection
XCP UDP Data AcquisitionAcquire selected measurements from configured server connection
XCP UDP Data StimulationPerform data stimulation on selected measurements
XCP UDP BypassConnect the function-call outport to a function-call subsystem (Since R2020b)

Topics

Featured Examples