I Installed the Microsoft Software Development Kit (SDK) 7.1 but still I get the following error message: "Error using mcc Test checkout of feature 'Compiler' failed"

2 views (last 30 days)
>> mbuild -setup
Welcome to mbuild -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2013b/win32.html
Please choose your compiler for building shared libraries or COM components:
Would you like mbuild to locate installed compilers [y]/n? n
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1
[2] Microsoft Visual C++ 2008 SP1
[3] Microsoft Visual C++ 2010
[4] Microsoft Visual C++ 2012
[0] None
Compiler: 1
Your machine has a Microsoft Software Development Kit (SDK) compiler located at C:\Program Files\Microsoft Visual Studio 10.0. Do you want to use this compiler [y]/n? y
Please verify your choices:
Compiler: Microsoft Software Development Kit (SDK) 7.1 Location: C:\Program Files\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
************************************************************************* Warning: Applications/components generated using Microsoft Windows Software Development Kit (SDK) require that Microsoft Visual Studio 2010 run-time libraries be available on the computer used for. deployment. To redistribute your applications/component, be sure that the deployment machine has the run-time libraries. *************************************************************************
Trying to update options file: C:\Users\...\AppData\Roaming\MathWorks\MATLAB\R2013b\compopts.bat From template: F:\MATLAB~1\bin\win32\mbuildopts\mssdk71compp.bat
Done . . .
>> mcc -m test.m
Error using mcc
Test checkout of feature 'Compiler' failed.
ans =
I followed the procedure in the link below, still facing the same problem in MATLAB 2013b:

Answers (0)


Find more on COM Component Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!