Cant detect C compiler

I have some s function files in C that needs to be converted to MEX. I installed a c compiler 'MinGW-w64' but my matlab isnt yet detecting it.
this is what it gives when i type mex 'No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015a/win64.html .' get my compiler gives me a blank array.
0x1 CompilerConfiguration array with properties:
Name
Manufacturer
Language
Version
Location
ShortName
Priority
Details
LinkerName
LinkerVersion
MexOpt
I am confused now. What could be a reason for this.

Answers (1)

Jan
Jan on 9 Dec 2016
Edited: Jan on 9 Dec 2016

0 votes

What about considering the error message and opening http://www.mathworks.com/support/compilers/R2015a/win64.html . You will find a table which states, that MinGW is not supported by Matlab R2015a. But you can install the Windows SDK 7.1.

Categories

Tags

Asked:

on 9 Dec 2016

Edited:

Jan
on 9 Dec 2016

Community Treasure Hunt

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

Start Hunting!