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

3 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Walter Roberson
Walter Roberson am 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 Kommentare
Walter Roberson
Walter Roberson am 26 Feb. 2016
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 am 26 Feb. 2016
Bearbeitet: Hamid Sarfraz am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by