Why do I encounter that "rtw.conne​ctivity.Ho​stLauncher​: 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 个)

Abhas
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:
  1. Check System Constants: Ensure that the "ARXML" file does not contain system constants with multiple values. This can cause inconsistencies in the simulation results.
  2. 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

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by