No supported compiler was found. you can install the freely available MinGW-w64 compiler.

2 次查看(过去 30 天)
Hi
I was trying to use S function in simulink but i got this error so i installed this compiler but again i get this error constantly
Can anyone help me to figure out whats going on?
Thanks

回答(2 个)

Fangjun Jiang
Fangjun Jiang 2019-11-8
run "mex -setup"?
  2 个评论
fatemeh p
fatemeh p 2019-11-8
when i run it, i get the error "Error using mex No supported compiler was found. you can install MinGW-w64 compiler ...."
Fangjun Jiang
Fangjun Jiang 2019-11-8
Then something must be wrong with the installation. Follow Mathworks links to install the correct version and platform.

请先登录,再进行评论。


Mark McBroom
Mark McBroom 2019-11-9
You need to install a supported compiler. The minGW-w64 is free to download. From the Home tab in MATLAB, select Add-Ons, the search for mingw.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by