From: rosi on
Hi,
i'm trying to install CPLEXMEX. I read that first of all i should install cplex, mingw and gnumex. I found instructions on http://gnumex.sourceforge.net/#dllpath and all was right until i typed "mex-v".
After this i got:

This is mex, Copyright 1984-2006 The MathWorks, Inc.

-> Default options filename found in C:\cplex
----------------------------------------------------------------
-> Options file = C:\cplex\mexopts.bat
MATLAB = C:\PROGRA~1\MATLAB\R2007b
-> COMPILER = lcc
-> Compiler flags:
COMPFLAGS = -c -Zp8 -I"C:\PROGRA~1\MATLAB\R2007b\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 "C:\PROGRA~1\MATLAB\R2007b\extern\lib\win32\lcc\mexFunction.def" -L"C:\PROGRA~1\MATLAB\R2007b\sys\lcc\lib" -libpath "C:\PROGRA~1\MATLAB\R2007b\extern\lib\win32\lcc" C:\DOCUME~1\ele\IMPOST~1\Temp\mex_7A4F0B2F-CBDE-41F6-899E-3CE80ADB9B30\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"C:\PROGRA~1\MATLAB\R2007b\sys\lcc\include" -noregistrylookup -fo"mexversion.res"
-> Resource Linker =
----------------------------------------------------------------

Usage:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]

or (to build an Ada S-function):
MEX [-v] [-g] -ada <sfcn>.ads

Use the -help option for more information, or consult the MATLAB API Guide.


C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: Error: No file names given.

??? Error using ==> mex at 208
Unable to complete successfully.


----Could anyone help me?Thanks!!
Rosy