Why do I get errors about missing "slhostlibcan***.dll" files when running a generated executable using CAN functionality outside MATLAB?
Show older comments
I've designed a Simulink model that transmits CAN data using blocks such as "CAN Transmit", "CAN Receive" or "CAN Replay" block from the Vehicle Network Toolbox. I generated an executable from this model using Simulink Coder or Embedded Coder. Upon running the EXE file, I get the following errors in the console
Could not open library: slhostlibcantransmit.dll.Could not open library: slhostlibcanreceive.dll.Could not open library: slhostlibcanreplay.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.
Accepted Answer
More Answers (0)
Categories
Find more on STMicroelectronics Discovery Boards 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!