Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2008-03-22
年龄: 42
帖子: 8
声望力: 0 ![]() |
![]()
我装的matlab6.5和MS Visual Studio 2005
在matlab中运行mex-setup,出现的却是: >> mex-setup 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:\程序盘\MATLAB6.5\BIN\WIN32\MEX.PL: Error: No file names given. ??? Undefined function or variable 'setup'. 哪位大侠给帮个忙,看看是怎么回事?
__________________
:lol: :lol: :lol: |
![]() |
![]() |
![]() |
#2 |
初级会员
注册日期: 2008-10-06
年龄: 39
帖子: 4
声望力: 0 ![]() |
![]()
我没用vs2005,装了个vc6.0了。大部分资料好像都是vc6.0的。
|
![]() |
![]() |
![]() |
#3 |
初级会员
注册日期: 2008-10-11
年龄: 37
帖子: 3
声望力: 0 ![]() |
![]()
matlab运行(包括路径)不能识别中文
D:\程序盘\MATLAB6.5\BIN\WIN32\MEX.PL: Error: No file names given. |
![]() |
![]() |
![]() |
#4 |
初级会员
注册日期: 2008-03-22
年龄: 42
帖子: 8
声望力: 0 ![]() |
![]()
现在是这样。
>> mex -setup; Please choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? y Select a compiler: [1] Lcc C version 2.4 in D:\程序盘\MATLAB6.5\sys\lcc [2] Microsoft Visual C/C++ version 6.0 in D:\程序盘\MS VC++6.0\MSDev98 [0] None Compiler: 2 Please verify your choices: Compiler: Microsoft Visual C/C++ 6.0 Location: D:\程序盘\MS VC++6.0\MSDev98 Are these correct?([y]/n): y Warning: Mex requires that the Microsoft Visual C++ 6.0 directories "VC98" and "Common" be located within the same parent directory. (Expected to find a directory named "Common" in the directory 'D:\程序盘\MS VC++6.0\MSDev98'.) The default options file: "C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R13\mexopts.bat" is being updated from D:\程序盘\MATLAB6.5\BIN\WIN32\mexopts\msvc60opts.bat... Installing the MATLAB Visual Studio add-in ... Warning: Could not update D:\程序盘\MS VC++6.0\MSDev98\common\msdev98\template\MATLABWizard.awx from D:\程序盘\MATLAB6.5\BIN\WIN32\MATLABWizard.awx Warning: Could not update D:\程序盘\MS VC++6.0\MSDev98\common\msdev98\template\MATLABWizard.hlp from D:\程序盘\MATLAB6.5\BIN\WIN32\MATLABWizard.hlp Warning: Could not update D:\程序盘\MS VC++6.0\MSDev98\common\msdev98\addins\MATLABAddin.dll from D:\程序盘\MATLAB6.5\BIN\WIN32\MATLABAddin.dll Warning: Could not update D:\程序盘\MS VC++6.0\MSDev98\common\msdev98\bin\usertype.dat from D:\程序盘\MATLAB6.5\BIN\WIN32\usertype.dat Note: One or more components necessary to the operation of the MATLAB Visual Studio add-in could not be installed. The MATLAB Visual Studio add-in will not be available, but the rest of this setup operation will continue normally. >> 为什么无法更新呢?是我的VC装的不全吗?还是怎么回事? 我装的是VC++6.0简体企业版,matlab6.5
__________________
:lol: :lol: :lol: |
![]() |
![]() |
![]() |
#5 |
初级会员
注册日期: 2008-10-23
年龄: 41
帖子: 2
声望力: 0 ![]() |
![]()
我的7.1版本也遇到这个问题
同问,期待中 |
![]() |
![]() |
![]() |
#6 |
初级会员
注册日期: 2008-04-30
年龄: 40
帖子: 13
声望力: 18 ![]() |
![]()
没用过mcc,我用的是matcom
|
![]() |
![]() |
![]() |
#7 |
初级会员
注册日期: 2008-07-18
年龄: 41
帖子: 5
声望力: 0 ![]() |
![]()
D:\程序盘\MATLAB6.5\BIN\WIN32\MATLABAddin.dll
~~~~ 可能含有中文路径的关系 |
![]() |
![]() |
![]() |
#8 |
游客
帖子: n/a
|
![]()
好像根路径有无中文无关
我的路径没中文,但也出现了上面的问题。 >> mex -setup Please choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? y Select a compiler: [1] Lcc C version 2.4 in D:\MATLAB\sys\lcc [2] Microsoft Visual C/C++ version 6.0 in D:\Program Files\VC++\MSDev98 [0] None Compiler: 2 Please verify your choices: Compiler: Microsoft Visual C/C++ 6.0 Location: D:\Program Files\VC++\MSDev98 Are these correct?([y]/n): y Warning: Mex requires that the Microsoft Visual C++ 6.0 directories "VC98" and "Common" be located within the same parent directory. (Expected to find a directory named "Common" in the directory 'D:\Program Files\VC++\MSDev98'.) The default options file: "C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R13\mexopts.bat" is being updated from D:\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat... Installing the MATLAB Visual Studio add-in ... Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\template\MATLABWizard.awx from D:\MATLAB\BIN\WIN32\MATLABWizard.awx Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\template\MATLABWizard.hlp from D:\MATLAB\BIN\WIN32\MATLABWizard.hlp Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\addins\MATLABAddin.dll from D:\MATLAB\BIN\WIN32\MATLABAddin.dll Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\bin\usertype.dat from D:\MATLAB\BIN\WIN32\usertype.dat Note: One or more components necessary to the operation of the MATLAB Visual Studio add-in could not be installed. The MATLAB Visual Studio add-in will not be available, but the rest of this setup operation will continue normally. |
![]() |
![]() |
#9 |
初级会员
注册日期: 2008-11-18
年龄: 44
帖子: 16
声望力: 17 ![]() |
![]()
学习中,编译也难到我了。。。。。。。。。。。。。
|
![]() |
![]() |
![]() |
#10 |
初级会员
注册日期: 2008-04-10
年龄: 35
帖子: 4
声望力: 0 ![]() |
![]()
我也是这样的问题啊 有没人出来解答一下啊~~~
|
![]() |
![]() |
![]() |
主题工具 | |
显示模式 | |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
[分享][资料]《MATLAB语言常用算法程序集》一书的源程序 | wa2003 | MATLAB论坛 | 26 | 2011-03-02 10:55 |
[求助]关于plot画图 | TTT_IOU | MATLAB论坛 | 2 | 2009-03-29 10:20 |
[分享]如何快速的找到免费全文文献 | bigorangefdc | 学术科研 | 0 | 2009-03-17 11:59 |
[求助]通过网络接口对示波器(TDS3052B)采集数据进行处理 | shendagui001218 | MATLAB论坛 | 3 | 2008-11-29 16:46 |
购买安捷伦信号分析仪和频谱分析仪的用户可同时购买MATLAB软件 - 电子系统设计网 | labfans | MATLAB新闻聚合 | 0 | 2008-11-12 01:00 |