- 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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Samay Sagar
am 19 Sep. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Code Generation for ARM Cortex-M and ARM Cortex-A Processors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!