Info

This question is closed. Reopen it to edit or answer.

Error using mex visual studio 2010

1 view (last 30 days)
mohsen
mohsen on 1 Feb 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
i cant create mex file...
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2010 (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
>> mex yprime.c
Building with 'Microsoft Visual C++ 2010 (C)'.
Error using mex
  1 Comment
Ryan Livingston
Ryan Livingston on 17 Feb 2016
What does:
mex -v yprime.c
output? Note you may need to copy yprime.c to your current directory:
copyfile(fullfile(matlabroot,'extern','examples','mex','yprime.c'), pwd)
before calling mex.

Answers (0)

Community Treasure Hunt

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

Start Hunting!