Why do I get errors about missing "slhostlibcan***.dll" files when running a generated executable using CAN functionality outside MATLAB?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre STMicroelectronics Discovery Boards en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!