Dear all,
I have installed MATLAB Version 7.5.0.342 (R2007b) and afterwards Microsoft Visual Studio C++ 2010 (Express Edition). Now, I want to register the compiler to Matlab. My background is that I want to compile several .cpp files with the mex-compiler. So, I need the Microsoft solution.
When I call "mex -setup" only the LCC compiler is being found. Even if I add the VisualStudioC++ path to Matlab.
What can I do to get the VisualStudioC++ in the "mex -setup" menu?
Please, be so kind an help me. Thank you very much. Regards, Kevin
|
|
0
|
|
|
|
Reply
|
Kevin
|
11/22/2010 3:23:04 PM |
|
Hi
Visual C++ 2010 Express is not compatible with your version of matlab. You can either upgrade your Matlab version or use one of the supported compilers listed here:
http://www.mathworks.com/support/compilers/release2007b/
Hope this helps
Henric
"Kevin Ostheimer" <info@impulsleistung.de> wrote in message <ice1so$cf2$1@fred.mathworks.com>...
> Dear all,
>
> I have installed MATLAB Version 7.5.0.342 (R2007b) and afterwards Microsoft Visual Studio C++ 2010 (Express Edition). Now, I want to register the compiler to Matlab. My background is that I want to compile several .cpp files with the mex-compiler. So, I need the Microsoft solution.
>
> When I call "mex -setup" only the LCC compiler is being found. Even if I add the VisualStudioC++ path to Matlab.
>
> What can I do to get the VisualStudioC++ in the "mex -setup" menu?
>
> Please, be so kind an help me. Thank you very much. Regards, Kevin
|
|
0
|
|
|
|
Reply
|
Henric
|
11/22/2010 3:43:04 PM
|
|
Hi
Visual C++ 2010 Express is not compatible with your version of matlab. You can either upgrade your Matlab version or use one of the supported compilers listed here:
http://www.mathworks.com/support/compilers/release2007b/
Hope this helps
Henric
"Kevin Ostheimer" <info@impulsleistung.de> wrote in message <ice1so$cf2$1@fred.mathworks.com>...
> Dear all,
>
> I have installed MATLAB Version 7.5.0.342 (R2007b) and afterwards Microsoft Visual Studio C++ 2010 (Express Edition). Now, I want to register the compiler to Matlab. My background is that I want to compile several .cpp files with the mex-compiler. So, I need the Microsoft solution.
>
> When I call "mex -setup" only the LCC compiler is being found. Even if I add the VisualStudioC++ path to Matlab.
>
> What can I do to get the VisualStudioC++ in the "mex -setup" menu?
>
> Please, be so kind an help me. Thank you very much. Regards, Kevin
|
|
0
|
|
|
|
Reply
|
Henric
|
11/22/2010 3:44:06 PM
|
|
"Kevin Ostheimer" <info@impulsleistung.de> wrote in message <ice1so$cf2$1@fred.mathworks.com>...
> Dear all,
>
> I have installed MATLAB Version 7.5.0.342 (R2007b) and afterwards Microsoft Visual Studio C++ 2010 (Express Edition). Now, I want to register the compiler to Matlab. My background is that I want to compile several .cpp files with the mex-compiler. So, I need the Microsoft solution.
>
> When I call "mex -setup" only the LCC compiler is being found. Even if I add the VisualStudioC++ path to Matlab.
>
> What can I do to get the VisualStudioC++ in the "mex -setup" menu?
>
> Please, be so kind an help me. Thank you very much. Regards, Kevin
Hi Kevin,
This happens when you use non-english version of Windows.
Say "n" to the following question after you enter "mex -setup"
Would you like mex to locate installed compilers [y]/n?
Then select your compiler and check if the location is correct.
Hope it works.
|
|
0
|
|
|
|
Reply
|
John
|
11/22/2010 3:47:03 PM
|
|
"John " <onsekizdegilim@yahoo.co.uk> wrote in message <ice39n$fr8$1@fred.mathworks.com>...
> "Kevin Ostheimer" <info@impulsleistung.de> wrote in message <ice1so$cf2$1@fred.mathworks.com>...
> > Dear all,
> >
> > I have installed MATLAB Version 7.5.0.342 (R2007b) and afterwards Microsoft Visual Studio C++ 2010 (Express Edition). Now, I want to register the compiler to Matlab. My background is that I want to compile several .cpp files with the mex-compiler. So, I need the Microsoft solution.
> >
> > When I call "mex -setup" only the LCC compiler is being found. Even if I add the VisualStudioC++ path to Matlab.
> >
> > What can I do to get the VisualStudioC++ in the "mex -setup" menu?
> >
> > Please, be so kind an help me. Thank you very much. Regards, Kevin
>
> Hi Kevin,
>
> This happens when you use non-english version of Windows.
>
> Say "n" to the following question after you enter "mex -setup"
> Would you like mex to locate installed compilers [y]/n?
>
> Then select your compiler and check if the location is correct.
>
> Hope it works.
Similar problem here. Your suggestion does not yet solve the problem. It only gives you the chance of selecting the compiler manually. But a noob like me still does not know how to do it. Seems to be a general problem with Matlab 2007b x64. The compatibility list states Visual C++ 2005 Professional to be a suitable compiler, but since I don't have it I don't know what to do :-(
|
|
0
|
|
|
|
Reply
|
BearCat
|
11/23/2010 10:31:07 AM
|
|
|
4 Replies
553 Views
(page loaded in 0.035 seconds)
|