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

2 ビュー (過去 30 日間)
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?
  2 件のコメント
Animesh
Animesh 2024 年 7 月 30 日
編集済み: Animesh 2024 年 7 月 30 日
Hey @M Mathew,
Are you facing this problem on running the EXE file generated using simulink coder?
M Mathew
M Mathew 2024 年 7 月 30 日
No, I'm running the model using Simulink Real-Time on Speedgoat.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeVehicle Network Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by