Code generation and build error

조회 수: 2 (최근 30일)
Sai Phanindra
Sai Phanindra 2024년 4월 2일
답변: Samay Sagar 2024년 9월 19일
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