- XCP Data acquisition over CAN: mXCP_CAN_DAQ.slx
- XCP Data acquisition over UDP: mXCP_UDP_DAQ.slx
- XCP Stimulation over UDP: mXCP_UDP_STIM.slx
Where can I find examples of using XCP with Simulink Real-time 6.0 (R2014a)?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 10 Mar 2014
Answered: MathWorks Support Team
on 10 Mar 2014
Where can I find examples of using XCP with Simulink Real-time 6.0 (R2014a)?
Accepted Answer
MathWorks Support Team
on 10 Mar 2014
The following are example models that can be run on a target with the appropriate hardware:
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!