compile error with mex files

3 views (last 30 days)
mariem farhat
mariem farhat on 9 Jul 2015
Edited: Anthony Poulin on 9 Jul 2015
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 Comment
Anthony Poulin
Anthony Poulin on 9 Jul 2015
Edited: Anthony Poulin on 9 Jul 2015
Hello,
Can you provide your compilation command line? (mex spmtimesd.cpp ...)

Sign in to comment.

Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!