Why do I get errors about missing "slhostlibcan***.dll" files when running a generated executable using CAN functionality outside MATLAB?
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 STMicroelectronics Discovery Boards에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!