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 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
Yousef
on 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 Comments
기선 이
on 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?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!