Vehicle Network Toolbox™ provides two sets of XCP block libraries, which provide blocks for handling XCP message traffic on a CAN network or by UDP. The CAN and UDP libraries contain the following blocks:
XCP CAN Transport Layer— Transmit and Receive XCP messages over CAN bus.
XCP CAN Configuration — Configure XCP settings for CAN.
XCP CAN Data Acquisition — Acquire XCP data over CAN.
XCP CAN Data Stimulation — Stimulate XCP data over CAN.
XCP UPD Configuration — Configure XCP settings for UDP.
XCP UDP Data Acquisition — Acquire XCP data over UDP.
XCP UDP Data Stimulation — Stimulate XCP data over UDP.
You can use these blocks with blocks from other Simulink® libraries to create sophisticated models.
To use the Vehicle Network Toolbox XCP block libraries, you require Simulink, a tool for simulating dynamic systems. Simulink is a model definition environment. Use Simulink blocks to create a block diagram that represents the computations of your system or application. Simulink is also a model simulation environment. Run the block diagram to see how your system behaves. If you are new to Simulink, read Get Started with Simulink (Simulink) to understand its functionality better.