Receive XCP messages via CAN device
The XCP CAN Transport Layer Receive block receives XCP messages from a CAN Receive block.
The XCP CAN TL Receive block supports the use of Simulink® Accelerator™ and Rapid Accelerator mode. Using this feature, you can speed up the execution of Simulink models.
For more information on this feature, see the Simulink documentation.
Use the Block Parameters dialog box to select your XCP CAN Transport Layer Receive block parameters.
Specify the sampling time of the block during simulation, which is the simulation time as described by the Simulink documentation. This value defines the frequency at which the XCP CAN Transport Layer Receive block runs during simulation. If the block is inside a triggered subsystem or to inherit sample time, you can specify –1 as your sample time. You can also specify a MATLAB® variable for sample time. The default value is –1 (in seconds).