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"

57 ビュー (過去 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 件)

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by