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

2 views (last 30 days)
Hamid Sarfraz
Hamid Sarfraz on 25 Feb 2016
Edited: Hamid Sarfraz on 26 Feb 2016
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.

Answers (1)

Walter Roberson
Walter Roberson on 25 Feb 2016
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 Comments
Hamid Sarfraz
Hamid Sarfraz on 26 Feb 2016
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by