登录论坛

查看完整版本 : [MATLAB基础] MATLAB mex -setup出错啦


panggaolei
2010-07-27, 14:11
>> mex
Can't locate mexsetup.pm in @INC (@INC contains: D:\MATLAB701/sys/perl/win32/lib D:\MATLAB701/sys/perl/win32/site/lib C:/MATLAB7/sys/perl/win32/lib C:/MATLAB7/sys/perl/win32/site/lib . D:\MATLAB701/bin/win32) at C:\MATLAB7\bin\win32\mex.pl line 170.
BEGIN failed--compilation aborted at C:\MATLAB7\bin\win32\mex.pl line 170.
??? Error using ==> mex
Unable to complete successfully

>> mex -setup
Can't locate mexsetup.pm in @INC (@INC contains: D:\MATLAB701/sys/perl/win32/lib D:\MATLAB701/sys/perl/win32/site/lib C:/MATLAB7/sys/perl/win32/lib C:/MATLAB7/sys/perl/win32/site/lib . D:\MATLAB701/bin/win32) at C:\MATLAB7\bin\win32\mex.pl line 170.
BEGIN failed--compilation aborted at C:\MATLAB7\bin\win32\mex.pl line 170.
??? Error using ==> mex
Unable to complete successfully



请问这是什么原因?谢谢