How can I change the default compiler to the Visual Studio 2008?

1 回表示 (過去 30 日間)
Clodoaldo
Clodoaldo 2014 年 4 月 29 日
コメント済み: James Tursa 2014 年 7 月 3 日
Hello Guys, I'm trying exchange the default compiler Lcc of the Matlab to the Visual Studio 2008. The VS 2008 have already installed in the machine and when I use the command mex -setup, appears the VS 2008 but I don't get setup it. Can you tell me which files need be in the folder in order to get setup correctly? If you have a step-by-step will be good. I followed the instructions of the mex -setup documentation but don't helped me. If you have other example I thank you.
  2 件のコメント
Niklas Nylén
Niklas Nylén 2014 年 4 月 29 日
What do you mean by "I don't get setup it"? Is there an error message?
James Tursa
James Tursa 2014 年 7 月 3 日
When you do "mex -setup", does the Visual Studio 2008 appear in the list of compiler options? What version of MATLAB are you using?

サインインしてコメントする。

回答 (1 件)

Dhanyatha
Dhanyatha 2014 年 7 月 3 日
編集済み: Dhanyatha 2014 年 7 月 3 日
As mentioned by you,the Visual Studio 2008 is not showing up when you execute the command the below command in MATLAB
>> mex –setup
You should ensure that the Visual Studio 2008 is supported by specific version of MATLAB you are using.
For MATLAB R2013b and other older versions, here is the list of supported compilers.
For MATLAB 2014a refer to this link.
Once you download the required supported compiler, MATLAB should be able to recognize the same. You can then choose the compiler by selecting their appropriate number.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by