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!