Configuring Microsoft Visual Studio 10.0 with Windows SDK 7.1 and -mex setup

3 ビュー (過去 30 日間)
Paola
Paola 2015 年 2 月 19 日
コメント済み: Walter Roberson 2015 年 10 月 11 日
I have a similar problem. In MATLAB 2012b 64 bit, when setting up the compiler, it was found when using the mex -setup command:
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler: [1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[0] None
However, for MATLAB 2014b 32-bit, it does not show me any other available compiler than the lcc-win32 and just the Microsoft Software Development Kit (SDK) 7.1, which seems not to be linked to Microsoft Visual Studio somehow. With each compiler I get different errors when trying to use precompiled mex-functions (both for 32 and 64 bits). For 64 bits, they are working ok. When using the lcc compiler, I get the same error, which tells me the mex32 function is not a valid Win32 application. I cannot find the way to make this work.
  3 件のコメント
Biruntha Gnaneswaran
Biruntha Gnaneswaran 2015 年 10 月 11 日
編集済み: Biruntha Gnaneswaran 2015 年 10 月 11 日
Hi, I successfully install microsoft windows sdk 7.1 for R2013a 32bit . when i type "mex -setup" or "mex -setup -v" in matlab, it didn't show Microsoft software development kit in the list of compilers. What is the problem here. can anyone help?
Walter Roberson
Walter Roberson 2015 年 10 月 11 日
Biruntha, which operating system are you using?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by