[問題] 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