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
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!
Satyendra Singh comments
I am facing the same problem..Has your issue been solved? Guide me through the required steps.. Thanks
This is the expected outcome when you do not tell mex what to compile.

Sign in to comment.

 Accepted Answer

Walter Roberson
Walter Roberson on 4 Jun 2012

1 vote

This does not appear to be an error. You did not name anything to compile when you asked mex to run verbosely ("-v")

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!