Why do I receive the error message "No supported compiler was found." and "Looking for registry setting 'path_to\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No." when using MATLAB Compiler SDK to create an Excel Add-in?

7 views (last 30 days)
I am attempting to use MATLAB Compiler SDK to create an Excel Add-in.  However, when packaging the application, I am receiving the following error message before the packing errors out:
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No.
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; visit https://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html. For more options, visit https://www.mathworks.com/support/compilers.
It appears that MATLAB cannot find the registry entry for the Windows SDK 10 even though Windows SDK 10. When downloading the installer from Windows SDK 10, I was able prompted to download additional packages that were missing from the Windows SDK 10 packages. However, this still did not resolve my issues.
Why do I receive the error message "No supported compiler was found." and "Looking for registry setting 'path_to\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No." when using the MATLAB Compiler SDK to create an Excel Add-in?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Apr 2025
Edited: MathWorks Support Team on 16 Apr 2025
The problem is that updating the remaining packages by supplementing the installation of Windows SDK 10 this way might not properly update the registry entry, preventing MATLAB from retrieving this information.
To resolve the issue, uninstall Windows SDK 10 and reinstall it along with the missing packages.

More Answers (0)

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!