Problems with mex
显示 更早的评论
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 个评论
Jingyao
2014-11-17
I have the same question. Do you solve the problem? If you can, please help me solve this problem. thank u!
Walter Roberson
2018-8-19
Satyendra Singh comments
I am facing the same problem..Has your issue been solved? Guide me through the required steps.. Thanks
Walter Roberson
2018-8-19
This is the expected outcome when you do not tell mex what to compile.
采纳的回答
更多回答(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!