MATLAB Answers

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

3 views (last 30 days)
fatemeh p
fatemeh p on 8 Nov 2019
Answered: Mark McBroom on 9 Nov 2019
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

  0 Comments

Sign in to comment.

Answers (2)

Fangjun Jiang
Fangjun Jiang on 8 Nov 2019
run "mex -setup"?

  2 Comments

fatemeh p
fatemeh p on 8 Nov 2019
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 on 8 Nov 2019
Then something must be wrong with the installation. Follow Mathworks links to install the correct version and platform.

Sign in to comment.


Mark McBroom
Mark McBroom on 9 Nov 2019
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.

  0 Comments

Sign in to comment.

Sign in to answer this question.