フィルターのクリア

No supported compiler is found

51 ビュー (過去 30 日間)
Andreas Kraus
Andreas Kraus 2022 年 3 月 25 日
コメント済み: Walter Roberson 2023 年 10 月 20 日
When calling mex -setup i get the following error:
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For
I installed Windows SDK 7.1, Visual Studio Express 2017 and MinGw. Why doesn't MatLab find a Compiler?
  2 件のコメント
Srijith Kasaragod
Srijith Kasaragod 2022 年 4 月 4 日
Please share the output of following command:
mex -setup -v
Walter Roberson
Walter Roberson 2023 年 10 月 20 日
R2022a supported MinGW 6.3, VS C++ 2019 family, VS C++ 2017 family, several VS C++ 20xx Professional... but it did not support SDK 7.1
I would have expected R2022a to be able to find VS Express 2017; I would want to see the output of mex -setup -v

サインインしてコメントする。

回答 (1 件)

Shree Charan M L
Shree Charan M L 2023 年 10 月 20 日
Hi Andreas,
I understand that you are facing an error when you’re trying to run mex -support.
The error message you received indicates that MATLAB was unable to find a supported compiler on your system. Here are a few possible reasons why this might be happening:
1. Incorrect Compiler Installation: Ensure that you have installed the compiler correctly and that it is compatible with your version of MATLAB. You can find more information on the compatible compilers here: https://www.mathworks.com/support/requirements/supported-compilers.html
2. Environment Variables: MATLAB relies on certain environment variables to locate the compiler. Ensure that the PATH environment variable includes the path to the compiler's bin directory.
If the issue is still not resolved, running the following code snippet might help pinning the problem down.
mex -v -setup
The following MATLAB Answers threads might help:
Hope this helps and you’re able to resolve the issue regarding compilers not being found......

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by