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?

8 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 16 de Abr. de 2025
Editada: MathWorks Support Team el 16 de Abr. de 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.

Más respuestas (0)

Categorías

Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by