MATLAB Answers

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

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Apr 2017
MinGW cannot be used to compile for Excel in R2016b; look at the chart of what each compiler is valid for.

  3 Comments

Shant Dakessian
Shant Dakessian on 4 Apr 2017
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.
Guillaume
Guillaume on 4 Apr 2017
"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.
Shant Dakessian
Shant Dakessian on 4 Apr 2017
Thanks for the reply Guillaume. Can it be used for the purpose named above?

Sign in to comment.

More Answers (0)


Translated by