필터 지우기
필터 지우기

Matlab 2017b No Compilers Detected

조회 수: 4 (최근 30일)
Mark Johnson
Mark Johnson 2021년 3월 30일
댓글: Walter Roberson 2024년 5월 17일
I am trying to compile a simulink model I made to check the I/O on my Speedgoat but when I go to do mex -setup Matlab replies with "Error using mex, No supported compiler or SDK was found." This is confusing to me since I just installed visual studios per https://www.mathworks.com/matlabcentral/answers/348269-how-do-i-set-up-microsoft-visual-studio-2017-for-slrt. I have tried adding the Visual Studio to the Matlab file path but it has not fixed the problem. Has anyone encountered and solved this problem?

답변 (1개)

Akash
Akash 2024년 5월 17일
Hi Mark,
It is essential to ensure that a compatible compiler is installed on your system. You can start by installing the 'MinGW-w64 GCC' compiler, which is commonly supported across various MATLAB versions. This compiler can be installed from the 'Add-Ons' menu. After installing the compiler, run the `mex -setup` command again to configure MATLAB to recognize the newly installed compiler.
You may also need to verify the list of compilers supported by your MATLAB version. For further details and potential solutions related to compiler issues, the following MATLAB Central discussions might be helpful:-
  댓글 수: 1
Walter Roberson
Walter Roberson 2024년 5월 17일
In R2017b, MinGW was not supported for Simulink Real-Time. Supported releases for Simulink Real-Time for R2017b were:
  • Microsoft Visual C++ 2017 product family
  • Microsoft Visual C++ 2015 Professional
  • Microsoft Visual C++ 2013 Professional
Note: I am unclear about the current (R2024a) supported compilers for Simulink Real-Time. Since R2020b, Simulink Real-Time has not been listed in the charts.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by