Matlab 2017b No Compilers Detected
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponses (1)
Akash
le 17 Mai 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 commentaire
Walter Roberson
le 17 Mai 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.
Voir également
Catégories
En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!