How to instal an compiler in Matlab
10 ビュー (過去 30 日間)
古いコメントを表示
Hello
I have matlab R2013a and I would like to use a compiler to use code written in C
I've donwloaded: Microsoft Windows SDK for Windows 7 and .NET Framework 4 and looked up the compiler using the mex - setup command but I get following notification:
||Would you like mex to locate installed compilers [y]/n? y
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2013a/win64.html
The same link from where I've downloaded my compiler. Does it matter in which directory I locate my compiler? Are there other steps between downloading and selecting a compiler in matlab?
Thanks
0 件のコメント
採用された回答
ES
2013 年 8 月 23 日
Microsoft's VC/VC++ compiler will suit most needs. Download MS VC++ (I think its free) . Install it, then put your mex -setup in MATLAB prompt.
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PRO~
[2] Microsoft Visual C++ 2008 Express in C:\PRO~
[0] None
Compiler:
You can choose the compiler from it.
By the way, you should have an LCC compiler by default. Why do you miss it?
7 件のコメント
Walter Roberson
2013 年 8 月 23 日
(Note: lcc does not show up because that compiler is only for 32 bit MATLAB.)
その他の回答 (1 件)
iyad salameh
2014 年 11 月 10 日
編集済み: iyad salameh
2014 年 11 月 10 日
i have the exact same problem too ! When i used kinect SDK v1.6 And MATLAB 2011 , things worked fine , then formatted my PC and re-downloaded everything all over again , but am using MATLAB 2014 now with kinect SDK 1.7 ,because only kinect SDK v1.7 or higher are available on microsoft.com now. , please help. ------------------------------------------------------------------------------- Select a compiler: [1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0\
[0] None
Compiler: 1
Please verify your choices:
Compiler: Microsoft Software Development Kit (SDK) 7.1 Location: C:\Program Files (x86)\Microsoft Visual Studio 10.0\
Are these correct [y]/n? y
*************************************************************************** Error: The Microsoft Windows Software Development Kit (SDK) installation is incomplete. Please be sure that the .NET Framework is installed correctly before attempting to reinstall the SDK. ***************************************************************************
Error using mex (line 206) Unable to complete successfully.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Troubleshooting in MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!