Borrar filtros
Borrar filtros

Matlab 2017b No Compilers Detected

4 visualizaciones (últimos 30 días)
Mark Johnson
Mark Johnson el 30 de Mzo. de 2021
Comentada: Walter Roberson el 17 de Mayo de 2024
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?

Respuestas (1)

Akash
Akash el 17 de Mayo de 2024
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 comentario
Walter Roberson
Walter Roberson el 17 de Mayo de 2024
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.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by