Why do I encounter that "rtw.connectivity.HostLauncher: stopped executable with host process identifier xx" when attempting to deploy the Simulink model on hardware?
6 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to use Simulink external mode and deploy Simulink models on hardware. The model is compiled successfully, and I get a host process identifier after deployment. But suddenly terminated after a few seconds (without any action taken)
There are no error prompts either. How could I confirm which step went wrong?
Thanks
1 个评论
Kautuk Raj
2024-9-10
Could you share the model file for better understanding and reproduction of the issue?
回答(1 个)
Abhas
2024-10-4
I encountered a similar issue and, upon examining the documentation, I found the following bug report: https://www.mathworks.com/support/bugreports/2424554?s_tid=srchtitle_support_results_1_rtw.Connectivity.HostLauncher%253A%20stopped.
Here are some some steps to help you diagnose and potentially resolve the problem:
- Check System Constants: Ensure that the "ARXML" file does not contain system constants with multiple values. This can cause inconsistencies in the simulation results.
- Simulation Mode Consistency: Ensure that the simulation mode (SIL, PIL, or Normal) is consistent and correctly configured for your model.
You may also refer to the following MathWorks documentation link to have a better idea on verifying autosar code with SIL and PIL: https://www.mathworks.com/help/autosar/ug/verifying-the-autosar-code-with-sil-and-pil-simulations.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!