MEX is not locating VS Express 2013 compiler

1 回表示 (過去 30 日間)
Isma
Isma 2015 年 11 月 4 日
コメント済み: Walter Roberson 2015 年 11 月 4 日
Hi all
I have both VS 2010 and VS 2013 Express installed on my laptop for some reasons, but I am wondering how to make MEX locate VS 2013 compiler after running mex -setup -v (see below screenshot). By default only c++ 2010 is displayed in option [2].
Best,
  1 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 11 月 4 日
編集済み: Geoff Hayes 2015 年 11 月 4 日
Isma - what is your operation system and which version of MATLAB are you using? Both determine which C++ compiler can be used by MEX (so it may not matter if you have VS 2010 or 2013 Express). At this link, http://www.mathworks.com/support/compilers/R2015b/index.html, you can find the supported compilers for 2015b. You can modify the link to find those that are supported for your version of MATLAB.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 11 月 4 日
The last Express series compiler that was supported was VS 2010 which was supported through R2011b. No VS 2013 Express compiler has never been supported by MATLAB.
  2 件のコメント
Isma
Isma 2015 年 11 月 4 日
Thanks for the information. But do you know if the files {libname.h libname.ctf libname.dll libname.lib} built using VS 2010 could also be used for linking projects in Express 2013? Cheers
Walter Roberson
Walter Roberson 2015 年 11 月 4 日
I do not know.

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

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by