Code generation and build error

3 次查看(过去 30 天)
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.

回答(1 个)

Samay Sagar
Samay Sagar 2024-9-19
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:
  • 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.
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 :

类别

Help CenterFile Exchange 中查找有关 Code Generation for ARM Cortex-M and ARM Cortex-A Processors 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by