about using 'visual studio 2015 community' for compiler when we use 'mex' of command

6 ビュー (過去 30 日間)
tsu-ji-
tsu-ji- 2016 年 7 月 29 日
回答済み: Jim Hokanson 2016 年 11 月 26 日
when I use the command 'mex -setup', the error happen the error is 「MEXはC言語のコンパイルに'Microsoft Visual C++ 2015 Professional (C)'を使用するように設定されています。」 Now my computer is installed「Visual studio 2015 community」 I want to use this for compiler. Can I use this for compiler? Could you tell me how I use 'Visual studio 2015 community' for compiler? If I cannot use community for compiler, can you tell me the other free Visual studio that I can use for compiler?
  3 件のコメント
Louis
Louis 2016 年 8 月 26 日
Does any version support it?
Let's say it's version R2016a.
The documentation says only VS Professional is supported, but can we in fact use Community?
Walter Roberson
Walter Roberson 2016 年 8 月 27 日
Only the Professional version will be detected. Somewhere around R2012a was the last version that supported the Express editions.
I do not know whether it is possible to edit the configuration files to support the Community editions.
I think I read somewhere that the Community editions do not support multiprocessing (parallelism).

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

回答 (1 件)

Jim Hokanson
Jim Hokanson 2016 年 11 月 26 日
This page links to supported compilers for previous releases (far right column): https://www.mathworks.com/support/sysreq/previous_releases.html
The community editions are not listed. TMW tends to be pretty specific and if the community editions were supported, they would probably be listed. It may be possible to change various settings files to get community edition support.
I personally like using TDM-GCC for compiling C code (should support C++ as well): http://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-the-mingw-w64-c-c++-compiler-from-tdm-gcc

カテゴリ

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