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 个评论

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.

请先登录,再进行评论。

 采纳的回答

Walter Roberson
Walter Roberson 2012-6-4

1 个投票

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by