Cant detect C compiler

3 次查看(过去 30 天)
Abhilash Nair
Abhilash Nair 2016-12-9
编辑: Jan 2016-12-9
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.

回答(1 个)

Jan
Jan 2016-12-9
编辑:Jan 2016-12-9
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.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by