MATLAB Answers

0

Using MinGW64 to create an Excel Add-in with MATLAB Compiler.

Asked by Shant Dakessian on 4 Apr 2017
Latest activity Commented on by Shant Dakessian on 4 Apr 2017
I am trying to create and Excel Add-in using Matlab Compiler. I have tried multiple methods of installing MinGW64 Compiler as this was recommended for this purpose. I have tried using the Add-on option in Matlab, downloading the installation files separately and then installing via Matlab (as recommended in the technical support section), and installing the compiler separately and then adding environment variables to connect it to Matlab. In the error log from the compilation it says that the compiler was found, but it still crashes and claims that no supported compiler or SDK was found, and suggests I install MinGW64. I am using Windows 8, and Matlab R2016b. Please help fix this issue. Thanks in advance.

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 4 Apr 2017
 Accepted Answer

MinGW cannot be used to compile for Excel in R2016b; look at the chart of what each compiler is valid for.

  3 Comments

Thank you for your answer. I realised that in the meantime. Now I have realised that it is probably not possible to do so without paying for some sort of compiler on Windows 8 and above.
"without paying for some sort of compiler on Windows 8 and above"
Visual Studio Community edition is exactly the same as the Pro Version in terms of editor and compiler, and is completely free for individual developers.
Thanks for the reply Guillaume. Can it be used for the purpose named above?

Sign in to comment.