Why do I get errors about missing "slhostlibcan***.dll" files when running a generated executable using CAN functionality outside MATLAB?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur STMicroelectronics Discovery Boards dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!