[问题] Visual Studio 2015不支援 Matlab 2015b?

楼主: yuci (vu03)   2016-03-19 18:06:52
大家好,
最近刚买新电脑,
就想说把以前的套件都安装到最新版本,
目前是安装
win 10
matlab 2015b (win64)
Visual Studio Professional 2015
昨天在设定matlab mex设定,
跑出警告讯息:
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2015 Professional (C)' for C
language compilation.
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.
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
请问一下是否是matlab 版本太新?
还是我的设定SOP有错?
谢谢大家~
作者: celestialgod (天)   2016-03-19 19:12:00
这个warning只是跟你说64 bit的API不同而已阿
作者: hehechang (hehe)   2016-03-20 22:00:00
以后matlab只会出64bit版这只是提醒你要用64bit的api吧
楼主: yuci (vu03)   2016-03-22 19:59:00
谢谢大家,可是我在跳出这个讯息之后就结束了,没有下一步安装@@请问有人可以提供一下安装经验吗~谢谢
作者: sunev (Veritas)   2016-03-22 20:37:00
这样就设定好了吧
作者: celestialgod (天)   2016-03-22 21:41:00
不是写 MEX configured...你要设定C++跟FOTRAN再另外打下面两个指令

Links booklink

Contact Us: admin [ a t ] ucptt.com