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"

조회 수: 62 (최근 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