Why do I get errors about missing “slhostlibcantransmit.dll” or “slhostlibcanreceive.dll” files when running a generated executable using CAN functionality outside MATLAB?
I’ve designed a Simulink model that sends CAN data using a "CAN Transmit" block, or receives data using a "CAN Receive" block from the Vehicle Network Toolbox. I generated an executable from this model using Simulink Coder. Upon running the EXE file, I get the following errors in the console
Could not open library: slhostlibcantransmit.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.
Could not open library: slhostlibcanreceive.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.I’ve designed a Simulink model that sends CAN data using a "CAN Transmit" block, or receives data using a "CAN Receive" block from the Vehicle Network Toolbox. I generated an executable from this model using Simulink Coder. Upon running the EXE file, I get the following errors in the console
Could not open library: slhostlibcantransmit.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.
Could not open library: slhostlibcanreceive.dll.
To run the generated code outside the MATLAB environment, use the packNGo function. I’ve designed a Simulink model that sends CAN data using a "CAN Transmit" block, or receives data using a "CAN Receive" block from the Vehicle Network Toolbox. I generated an executable from this model using Simulink Coder. Upon running the EXE file, I get the following errors in the console
Could not open library: slhostlibcantransmit.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.
Could not open library: slhostlibcanreceive.dll.
To run the generated code outside the MATLAB environment, use the packNGo function. can, packngo, slhostlibcanreceive.dll, executable, vnt MATLAB Answers — New Questions