I try to use a proprietary Danfoss software development tool with Simulink s-function export. The tool opens Matlab and tries to generate s-function, but it ends up in this error: No supported compiler or SDK was found. What can I do?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Full error: No supported compiler or SDK was found. You can install the freely availabel MinGW-w64 C/C++ comipler. --> but Support for MinGW-w64 compiler 4.9.2 version 17.1.1 is already installed.
0 Commenti
Risposte (1)
Sangeetha Jayaprakash
il 14 Ago 2017
I assume it says "No supported compiler or SDK was found." when you run "mex -setup" in the MATLAB command window.
When installing the MinGW compiler, the environment variable MW_MINGW64_LOC is set with the path the MinGW installation folder. If this environment variable isn't staying set following the installation or after restarting MATLAB, the behavior described above may occur.This could be due to limited privileges.
Running the following command will display whether the MW_MINGW64_LOC environment variable is set:
mex -v -setup
The solution is to have an administrator set the variable.
0 Commenti
Vedere anche
Categorie
Scopri di più su MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!