Unable to set up mex for Intel Parallel Studio XE Compiler
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello everyone,
I'm trying to generate a standalone executable file from my Simulink model. I use the compiler Microsoft Visual C ++ 2019. Intel Parallel Studio XE 2020 is installed on my desktop and integrated into MS Visual Studio 2019. But I cannot see this compiler in Matlab. In an old answer I read that Intel compilers require Microsoft Visual Studio 2015 or 2017 to be installed on your system as well. However, Matlab already has the option of using Intel Parallel Studio XE with the newer version of Microsoft Visual Studio.
I attached the output below.
mex -setup -v
Verbose mode is on.
... Looking for compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2015 (C)' ...
... Looking for environment variable 'ICPP_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2015 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2017 (C)' ...
... Looking for environment variable 'ICPP_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2017 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2019 (C)' ...
... Looking for environment variable 'ICPP_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2019 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2015 (C)' ...
... Looking for environment variable 'ICPP_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2015 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2017 (C)' ...
... Looking for environment variable 'ICPP_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2017 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2019 (C)' ...
... Looking for environment variable 'ICPP_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 with Microsoft Visual Studio 2019 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2020 with Microsoft Visual Studio 2017 (C)' ...
... Looking for environment variable 'ICPP_COMPILER20' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2020 with Microsoft Visual Studio 2017 (C)'.
... Looking for compiler 'Intel Parallel Studio XE 2020 with Microsoft Visual Studio 2019 (C)' ...
... Looking for environment variable 'ICPP_COMPILER20' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2020 with Microsoft Visual Studio 2019 (C)'.
...
...
...
Found installed compiler 'Microsoft Visual C++ 2019 (C)'.
MEX configured to use 'Microsoft Visual C++ 2019 (C)' for C language compilation.
I would be grateful for any advice. Thanks.
댓글 수: 0
답변 (1개)
Neha
2024년 3월 4일
Hi Semih,
I understand that you are facing an issue where MATLAB is not detecting the Intel Parallel Studio XE 2020 compiler integrated with Microsoft Visual Studio 2019, despite it being installed and configured on the system.
Please refer to the following link for more information on the supported compilers for each release:
It will guide you in verifying whether your current setup, including the Intel Parallel Studio XE 2020 with Microsoft Visual Studio 2019, is compatible with your version of MATLAB. The problem might arise if your MATLAB version does not fully support the Microsoft Visual C++ 2019 product family compiler, or due to specific requirements of the Intel compilers, which may necessitate having Microsoft Visual Studio 2015 or 2017 installed.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!