how to build Mex files
Ältere Kommentare anzeigen
HI.When i tape mex -setup i have this complier " Lcc-win32 C 2.4.1 in C:\PROGRA~2\MATLAB~1\sys\lcc " and his location C:\PROGRA~2\MATLAB~1\sys\lcc and i got this message:
Trying to update options file: C:\Users\HP\AppData\Roaming\MathWorks\MATLAB\R2010a\mexopts.bat
From template: C:\PROGRA~2\MATLAB~1\bin\win32\mexopts\lccopts.bat
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/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
but when i write mex yprime.c i got this
C:\PROGRA~2\MATLAB~1\BIN\MEX.PL: Error: 'yprime.c' not found.
i found this file in another directory but not compiled i found several errors. thank u
1 Kommentar
Geoff Hayes
am 3 Mai 2015
Houayda - is the file yprime.c in the current directory? What is returned when you type the following in the Command Window
which yprime.c -all
Antworten (0)
Kategorien
Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!