I have basically the same issues by generating the code for the STM32 : An installed compiler was not detected...
If I check for installed compilers via mex -setup:
MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
Everything looks fine, building code for Arduino works just fine. What could be the reason for this issue? I have a OS Win7 64-Bit with Matlab 2015b.
I'm thankful for any help or assistance.