Effacer les filtres
Effacer les filtres

Why simulink embedded coder can generate code but compilation error?

46 vues (au cours des 30 derniers jours)
昱颖 陈
昱颖 陈 le 19 Août 2024 à 14:50
Commenté : 昱颖 陈 le 20 Août 2024 à 6:06
When using the ebedded coder to generate code, only the code is generated without any errors, but when compiling, an error is reported. Simulink cannot display the specific error location. Can I adjust the settings to see which step went wrong?
I ran the generated cmakelist file separately, I'm not sure if there was an error running on cmakelist.txt, it needs to include a .cmake file, but it doesn't seem to have been generated at all.
  1 commentaire
昱颖 陈
昱颖 陈 le 20 Août 2024 à 6:06
BTW, I choose the RTI Connext 6.x Project as the toolchain. I also try that if the entire program is compiled using other toolchains without adding the DDS blockchain, there will be no errors. But I need to use the dds blockset so I cannot use the normal toolchain.

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by