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

3 views (last 30 days)
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

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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!