any explanation(solution) for these error. New installation on os x 10.11 matlabr2015b Xcode 7.2?

3 次查看(过去 30 天)
mex -setup
MEX configured to use 'Xcode with Clang' 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
MEX configured to use 'Xcode Clang++' 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.
Error using mex
No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015b/maci64.html.

回答(1 个)

Walter Roberson
Walter Roberson 2016-2-25
You might need to tweak the answer given there to account for XCode 7.2 as it was written with XCode 7.0 in mind.
  9 个评论
Walter Roberson
Walter Roberson 2016-2-26
That warning has been around for a long time. The old mex interface used 32 bit integers for sizes, so it could not handle more than 2^32-1 elements in an array. If you still had some really old mex source code then it would need to be updated.
Hamid Sarfraz
Hamid Sarfraz 2016-2-26
编辑:Hamid Sarfraz 2016-2-26
so no need to worry! everything's fine ? Actually I am a student of Bachelor's in ICT and have just started the semester with a MATLAB subject so installed and on getting this warning I was very confused. I haven't started with building something, I was still installing and configuring it.Is there anyway I could hide this warning.
And what is the solution for this
mex -setup FORTRAN
Error using mex
No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015b/maci64.html.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by