Error when using Embedded Coder in Simulink: "Toolchain 'LCC-win64 v2.4.1 | gmake (64-bit Windows)' does not support SIMD 'SSE2' intrinsics on Windows"

133 次查看(过去 30 天)
Hello,
i want to compile a simulink file to C-Code. When i click on Generate code i actually receive a code in C but the diagnostic viewer shows the following Error:
"Toolchain 'LCC-win64 v2.4.1 | gmake (64-bit Windows)' does not support SIMD 'SSE2' intrinsics on Windows. Select a different toolchain that does support SIMD 'SSE2' intrinsics."
At this point i don't even know what that means or if my code works anyways. What exactly is the problem here and how can i fix it (if i need to fix it, as i said i actually receive a file with C-Code).
Thank you in advance!

采纳的回答

Yousef
Yousef 2023-11-15
The error you're experiencing in MATLAB Simulink when generating C code is due to the incompatibility of your current toolchain, 'LCC-win64 v2.4.1 | gmake (64-bit Windows)', with SIMD 'SSE2' intrinsics, which are processor features for efficient data processing. To resolve this, you need to select a different toolchain in MATLAB that supports SSE2 intrinsics, found under the Code Generation settings in your Simulink model's Configuration Parameters. If you don't have a compatible toolchain, installing a new compiler like Microsoft Visual C++ that supports these features is necessary. It's also important to evaluate whether your model genuinely requires SSE2 support for optimization and to thoroughly test the generated C code to ensure its functionality and performance.
  3 个评论
기선 이
기선 이 2024-2-7
I have same error. I want to solve this error with this method, but I don'w know how to select a different toolchain. How can I change this settings?
성진
성진 2024-2-23
저 같은 경우에는 '모델설정' 에서 하드웨어 구현 장치를 바꾸었더니 해결이 되었습니다!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by