- Go to Model Configuration Parameters > Code Generation.
- Verify that the toolchain is set correctly under Toolchain.
- Ensure that the hardware implementation settings match your target hardware.
Code generation and build error
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello,
I am having an error when building the model in simulink 2016a. when I am generating code and building the model in simulink.
code generation: infineon_xmc.family.tlc
Hardware implementation: Arm Compatible Cortex M
Here is the error
Please let me know if you know anything.
Thank you.
0 comentarios
Respuestas (1)
Samay Sagar
el 19 de Sept. de 2024
The errors you are encountering suggests that there are some missing compilers or linkers.
You can follow these steps to resolve this issue:
1. Ensure that the ARM compiler is correctly installed on your system. The error suggests that the system cannot find the specified path, which might mean the compiler is not installed or not correctly configured.
2. In Simulink, check the configuration parameters for your model:
3. Review the paths and filenames in the error message for any typos or incorrect references as there is inconsistency in the "\" used in the path
4. You can also specify your custom include headers and directories in Configuration Parameters > Code Generation > Custom Code
Here you can checkout the updated documentation to configure your model for ARM Cortex M processors :
0 comentarios
Ver también
Categorías
Más información sobre Code Generation for ARM Cortex-M and ARM Cortex-A Processors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!