compile error with mex files

Hello,
I am using Matlab R2013a with SDK 7.1. When compiling mex files, I got the following error:
if true
Error: compilation of \spmtimesd.cpp failed : Usage:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
Use the -help option for more information, or consult the MATLAB API Guide.
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Unrecognized switch: -argcheck.
end

1 Kommentar

Anthony Poulin
Anthony Poulin am 9 Jul. 2015
Bearbeitet: Anthony Poulin am 9 Jul. 2015
Hello,
Can you provide your compilation command line? (mex spmtimesd.cpp ...)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 9 Jul. 2015

Bearbeitet:

am 9 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by