Problems with mex
Show older comments
Hallo ,
I have got a problem with mex.
>> mex -v
-> Default options filename found in C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2010b
----------------------------------------------------------------
-> Options file = C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2010b\mexopts.bat
MATLAB = E:\PROGRA~1\MATLAB~1
-> COMPILER = lcc
-> Compiler flags:
COMPFLAGS = -c -Zp8 -I"E:\PROGRA~1\MATLAB~1\sys\lcc\include" -DMATLAB_MEX_FILE -noregistrylookup
OPTIMFLAGS = -DNDEBUG
DEBUGFLAGS = -g4
arguments =
Name switch = -Fo
-> Pre-linking commands =
-> LINKER = lcclnk
-> Link directives:
LINKFLAGS = -tmpdir "." -dll "E:\PROGRA~1\MATLAB~1\extern\lib\win32\lcc\mexFunction.def" -L"E:\PROGRA~1\MATLAB~1\sys\lcc\lib" -libpath "E:\PROGRA~1\MATLAB~1\extern\lib\win32\lcc" "C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\MEX_5X~1\templib2.obj"
LINKDEBUGFLAGS =
LINKFLAGSPOST = libmx.lib libmex.lib libmat.lib
Name directive = -o ".mexw32"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler = lrc -I"E:\PROGRA~1\MATLAB~1\sys\lcc\include" -noregistrylookup -fo"mexversion.res"
-> Resource Linker =
----------------------------------------------------------------
Usage:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
Use the -help option for more information, or consult the MATLAB API Guide.
E:\PROGRA~1\MATLAB~1\BIN\MEX.PL: Error: No file names given.
??? Error using ==> mex at 208
Unable to complete successfully.
I have checked the earlier answers, but there was no helpful information. Could anyone help me?
Thanks.
3 Comments
Jingyao
on 17 Nov 2014
I have the same question. Do you solve the problem? If you can, please help me solve this problem. thank u!
Walter Roberson
on 19 Aug 2018
Satyendra Singh comments
I am facing the same problem..Has your issue been solved? Guide me through the required steps.. Thanks
Walter Roberson
on 19 Aug 2018
This is the expected outcome when you do not tell mex what to compile.
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing 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!