Main Content

XCP CAN Transport Layer

Transport XCP messages via CAN

  • XCP CAN Transport Layer block

Vehicle Network Toolbox / XCP Communication / CAN
Simulink Real-Time / XCP / CAN


The XCP CAN Transport Layer subsystem uses the specified device to transport and receive XCP messages.

Use this block with an XCP CAN Data Acquisition block to acquire and analyze specific XCP messages. Use this block with an XCP CAN Data Stimulation block to send specific information to modules.

Other Supported Features

The XCP communication blocks support the use of Simulink® accelerator and rapid accelerator modes. Using this feature, you can speed up the execution of Simulink models. For more information on this feature, see Acceleration (Simulink).


expand all

The CAN device, chosen from all connected CAN devices.

Speed of the CAN bus in bits per second. The default bus speed is the default assigned by the selected device.

Simulation refresh rate, specified as the sampling time of the block during simulation. This value defines the frequency at which the XCP CAN Transport Layer subsystem and the underlying blocks run during simulation. For information about simulation sample timing, see Timing in Hardware Interface Models. If the block is inside a triggered subsystem or inherits a sample time, specify a value of -1. You can also specify a MATLAB® variable for sample time. The default value is 0.01 simulation seconds.

Extended Capabilities

Version History

Introduced in R2013a