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.
Why simulink embedded coder can generate code but compilation error?
46 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1755659/image.png)
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!