installing matlab compiler mex -setup
18 views (last 30 days)
Show older comments
Hello dears,
please help me to install matlab compiler, thank you so much.
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2013 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. 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 C compiler, select one from the following:
MinGW64 Compiler (C) mex -setup:D:\matlab\R2017a\bin\win64\mexopts\mingw64.xml C
Microsoft Visual C++ 2013 Professional (C) mex -setup:'C:\Users\Arash Abdi\AppData\Roaming\MathWorks\MATLAB\R2017a\mex_C_win64.xml' C
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
>>
1 Comment
Walter Roberson
on 6 Dec 2017
It appears that you have successfully configured Visual C++ 2013 Professional. If that is an acceptable compiler for you, you do not need to do anything more.
Answers (0)
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!