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"

63 Ansichten (letzte 30 Tage)
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!

Akzeptierte Antwort

Yousef
Yousef am 15 Nov. 2023
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 Kommentare
기선 이
기선 이 am 7 Feb. 2024
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?
성진
성진 am 23 Feb. 2024
저 같은 경우에는 '모델설정' 에서 하드웨어 구현 장치를 바꾸었더니 해결이 되었습니다!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by