求助:matlab2014a与VS 2012混合编程问题 感觉配置了mex环境​,但是编译mex文件​有误,求指导

>> mex -setup MEX 配置为使用 'Microsoft Visual C++ 2012 (C)' 以进行 C 语言编译。 Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
要选择不同的语言,请从以下选项中选择一种命令: mex -setup C++ mex -setup FORTRAN >> mex train.cpp 错误使用 mex 未找到支持的编译器或 SDK。有关选项,请访问 http://www.mathworks.com/support/compilers/R2014a/win32

3 Comments

Is your vc 2012 the professional version or the express version?
Is there something different between professional version with other version?
R2011b was the last version that supported the Express editions of VS.
I glanced at some documentation a moment ago; the differences I could see did not appear to be important for the situation, so I am not sure how the restriction arises.

Sign in to comment.

Answers (0)

Categories

Asked:

on 22 Mar 2016

Commented:

on 24 Sep 2016

Community Treasure Hunt

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

Start Hunting!