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 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Abhas
Abhas il 4 Ott 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:
  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

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by