关于安装MinGw的问题.
关于安装MinGw的问题.Inputcommands>>mex-v//(在Matlab环境中)Thisismex,Copyright1984-2007TheMathWor...
关于安装MinGw的问题.
Input commands
>> mex -v // (在Matlab环境中)
This is mex, Copyright 1984-2007 The MathWorks, Inc.
-> Default options filename found in C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2009a
----------------------------------------------------------------
-> Options file = C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2009a\mexopts.bat
MATLAB = D:\PROGRA~1\Matlab
-> COMPILER = gcc
-> Compiler flags:
COMPFLAGS = -c -DMATLAB_MEX_FILE -mno-cygwin
OPTIMFLAGS = -O3
DEBUGFLAGS = -g
arguments =
Name switch = -o
-> Pre-linking commands =
-> LINKER = D:\PROGRA~1\Matlab\sys\perl\win32\bin\perl.exe d:\PROGRA~1\matlab\gnumex\linkmex.pl
-> Link directives:
LINKFLAGS = -mno-cygwin -mwindows -LC:\Users\ADMINI~1\AppData\Roaming\MATHWO~1\MATLAB\R2009a\gnumex
LINKDEBUGFLAGS = -g -Wl,--image-base,0x28000000\n
LINKFLAGSPOST =
Name directive = -o .mexw32
File link directive =
Lib. link directive =
Rsp file indicator =
-> Resource Compiler = D:\PROGRA~1\Matlab\sys\perl\win32\bin\perl.exe d:\PROGRA~1\matlab\gnumex\rccompile.pl --unix -o 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.
D:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: No file names given.
??? Error using ==> mex at 218
Unable to complete successfully.
复制MATLAB根目录下 extern\examples\mex\yprime.c 文件到自己的测试目录下。例如gnumex的examples目录下。
输入命令
mex yprime.c
D:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: 'yprime.c' not found.
这是怎么回事呀?怎么会说:‘yprime.c‘没有找到呢?
请高手指点下。 展开
Input commands
>> mex -v // (在Matlab环境中)
This is mex, Copyright 1984-2007 The MathWorks, Inc.
-> Default options filename found in C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2009a
----------------------------------------------------------------
-> Options file = C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2009a\mexopts.bat
MATLAB = D:\PROGRA~1\Matlab
-> COMPILER = gcc
-> Compiler flags:
COMPFLAGS = -c -DMATLAB_MEX_FILE -mno-cygwin
OPTIMFLAGS = -O3
DEBUGFLAGS = -g
arguments =
Name switch = -o
-> Pre-linking commands =
-> LINKER = D:\PROGRA~1\Matlab\sys\perl\win32\bin\perl.exe d:\PROGRA~1\matlab\gnumex\linkmex.pl
-> Link directives:
LINKFLAGS = -mno-cygwin -mwindows -LC:\Users\ADMINI~1\AppData\Roaming\MATHWO~1\MATLAB\R2009a\gnumex
LINKDEBUGFLAGS = -g -Wl,--image-base,0x28000000\n
LINKFLAGSPOST =
Name directive = -o .mexw32
File link directive =
Lib. link directive =
Rsp file indicator =
-> Resource Compiler = D:\PROGRA~1\Matlab\sys\perl\win32\bin\perl.exe d:\PROGRA~1\matlab\gnumex\rccompile.pl --unix -o 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.
D:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: No file names given.
??? Error using ==> mex at 218
Unable to complete successfully.
复制MATLAB根目录下 extern\examples\mex\yprime.c 文件到自己的测试目录下。例如gnumex的examples目录下。
输入命令
mex yprime.c
D:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: 'yprime.c' not found.
这是怎么回事呀?怎么会说:‘yprime.c‘没有找到呢?
请高手指点下。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询