Info

This question is closed. Reopen it to edit or answer.

ERROR USING MEX - MatLab R2011b - Microsoft Visual C++ 2008 Express

1 view (last 30 days)
Hello everybody,
nice to join your community :) .
I'm using MatLab R2011b *with the compiler *Microsoft Visual C++ 2008 Express *that works good togheter according to the following link: *http://digital.ni.com/public.nsf/allkb/2AE33E926BF2CDF2862579880079D751
They worked good togheter until yesterday. After, i've had to reinstall both Matlab and the compiler.
Problem: actually in the command Window, when i select the compiler to be installed with the command mex -setup, and i answer "y" to the various questions, at the end, it appears an error message:
Error using mex (line 206) Unable to complete successfully
The sequence of action is:
-i open Matlab; -in the command window i give the command: mex -setup; - it appear this message:"*Warning: Function C:\WINDOWS\system32\input.dll has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. > In tempdir at 32 In tempname at 18 In mex_helper>make_rsp_file at 380 In mex_helper>runCmdInShell at 82 In mex_helper at 53 In mex at 204 Warning: Function C:\WINDOWS\system32\version.dll has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. > In tempdir at 32 In tempname at 18 In mex_helper>make_rsp_file at 380 In mex_helper>runCmdInShell at 82 In mex_helper at 53 In mex at 204 *"
-Would you like mex to locate installed compilers [y]/n? -my answer: y; -it appear this:"*Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\SSEE\MATLAB\R2011b\sys\lcc [2] Microsoft Visual C++ 2008 Express in C:\Programmi\Microsoft Visual Studio 9.0
[0] None *"
-i answer: 2; -it appears:"*Please verify your choices:
Compiler: Microsoft Visual C++ 2008 Express Location: C:\Programmi\Microsoft Visual Studio 9.0
Are these correct [y]/n?* "
-i choose: y;
-it appears this:"**************************************************************************** Warning: MEX-files generated using Microsoft Visual C++ 2008 require that Microsoft Visual Studio 2008 run-time libraries be available on the computer they are run on. If you plan to redistribute your MEX-files to other MATLAB users, be sure that they have the run-time libraries. ************************************************************************* C:\Programmi\Microsoft Visual Studio 9.0 Error using mex (line 206) Unable to complete successfully.*"
I want this error to be avoided.
Hope you can help me guys.
Thanks

Answers (1)

Shyam Sangaraju
Shyam Sangaraju on 7 Jul 2014
“Microsoft Visual C++ 2008 Express“ compiler is not a supported compiler with MATLAB R2011b. I highly recommend you to install a supported compiler, the following documentation link provides list of supported compilers with MATLAB R2011b.
Microsoft Windows SDK 7.1 below is available free of charge.

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!