Where can I find examples of using XCP with Simulink Real-time 6.0 (R2014a)?

11 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Mar 2014
The following are example models that can be run on a target with the appropriate hardware:
  1. XCP Data acquisition over CAN: mXCP_CAN_DAQ.slx
  2. XCP Data acquisition over UDP: mXCP_UDP_DAQ.slx
  3. XCP Stimulation over UDP: mXCP_UDP_STIM.slx
Note about XCP Simulator:
For these examples, a slave or slave simulator is required. A third party XCP Sample implementation is available from Vector. This includes a slave simulator and an A2L file. To install this free implementation: # Go to www.vector.com and navigate to the "DOWNLOADS" page. # Search for "Demos" under "Categories" and "XCP" under "Standards". # Download and install the available version of "XCP Sample Implementation". # In MATLAB, navigate to where you installed the sample package, and then go to .\Samples\XCPSim\CANape. # The XCP examples will use the XCPSIM.a2l file and the XCPsim.exe slave simulator. Run XCPsim.exe.
The simulator is capable of offering CAN or UDP communication and its documentation may be referred for more information. The XCP Configuration blocks in all the models use the A2L file mentioned above in step 5.

More Answers (0)

Tags

Products


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!