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?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Sangeetha Jayaprakash
2017 年 8 月 14 日
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 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!