Why do I encounter that "rtw.connectivity.HostLauncher: stopped executable with host process identifier xx" when attempting to deploy the Simulink model on hardware?
7 views (last 30 days)
Show older comments
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 Comment
Kautuk Raj
on 10 Sep 2024
Could you share the model file for better understanding and reproduction of the issue?
Answers (1)
Abhas
on 4 Oct 2024
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 Comments
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!