slhostlibcantransmit.dll INITIALIZE Error when I try to connect to my ECU through XCP on CAN (using Vehicle Network Toolbox blocks)

4 views (last 30 days)
I am trying to read an ECU variable using Vehicle Network Toolbox blocks on my simulink model. The a2l file is added in the XCP CAN Configuration block. The XCP CAN Data Acquisiton block is used for getting the measurement I want to read and the XCP CAN Transport Layer block is used for connecting to the XCP channel which is through a Kvaser device.
On running the model, I get the following error:
=== Diagnostics ===
Error:Error running 'HVS_Model_V01_CD6_TestPC' on target computer: Unable to load 'HVS_Model_V01_CD6_TestPC' on target computer 'TargetPC1': HVS_Model_V01_CD6_TestPC:INITIALIZE ERROR:Could not open library: slhostlibcantransmit.dll
Can anyone help me out?

Answers (0)

Community Treasure Hunt

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

Start Hunting!