求助: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
Walter Roberson
2016년 3월 22일
Is your vc 2012 the professional version or the express version?
ilanzhang
2016년 9월 24일
Is there something different between professional version with other version?
Walter Roberson
2016년 9월 24일
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Write 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!