Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2008-09-25, 15:05   #1
guangying
初级会员
 
注册日期: 2008-03-22
年龄: 42
帖子: 8
声望力: 0
guangying 正向着好的方向发展
默认 [求助] matlab与VC接口设置

我装的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:
guangying 当前离线   回复时引用此帖
旧 2008-10-06, 12:52   #2
zipinghappy
初级会员
 
注册日期: 2008-10-06
年龄: 39
帖子: 4
声望力: 0
zipinghappy 正向着好的方向发展
微笑 回复: 求助:matlab与VC接口设置

我没用vs2005,装了个vc6.0了。大部分资料好像都是vc6.0的。
zipinghappy 当前离线   回复时引用此帖
旧 2008-10-11, 23:08   #3
萌志
初级会员
 
注册日期: 2008-10-11
年龄: 37
帖子: 3
声望力: 0
萌志 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

matlab运行(包括路径)不能识别中文

D:\程序盘\MATLAB6.5\BIN\WIN32\MEX.PL: Error: No file names given.
萌志 当前离线   回复时引用此帖
旧 2008-10-16, 17:08   #4
guangying
初级会员
 
注册日期: 2008-03-22
年龄: 42
帖子: 8
声望力: 0
guangying 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

现在是这样。

>> 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:
guangying 当前离线   回复时引用此帖
旧 2008-10-23, 22:20   #5
dongnan
初级会员
 
注册日期: 2008-10-23
年龄: 41
帖子: 2
声望力: 0
dongnan 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

我的7.1版本也遇到这个问题
同问,期待中
dongnan 当前离线   回复时引用此帖
旧 2008-10-26, 12:19   #6
lmmf
初级会员
 
注册日期: 2008-04-30
年龄: 40
帖子: 13
声望力: 18
lmmf 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

没用过mcc,我用的是matcom
lmmf 当前离线   回复时引用此帖
旧 2008-11-20, 21:28   #7
pasuka
初级会员
 
注册日期: 2008-07-18
年龄: 41
帖子: 5
声望力: 0
pasuka 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

D:\程序盘\MATLAB6.5\BIN\WIN32\MATLABAddin.dll
~~~~
可能含有中文路径的关系
pasuka 当前离线   回复时引用此帖
旧 2008-11-23, 10:35   #8
未注册
游客
 
帖子: n/a
难过 回复: 求助:matlab与VC接口设置

好像根路径有无中文无关
我的路径没中文,但也出现了上面的问题。
>> 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.
  回复时引用此帖
旧 2008-11-26, 10:07   #9
bigboyx
初级会员
 
注册日期: 2008-11-18
年龄: 44
帖子: 16
声望力: 17
bigboyx 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

学习中,编译也难到我了。。。。。。。。。。。。。
bigboyx 当前离线   回复时引用此帖
旧 2008-11-27, 22:28   #10
看看想想~
初级会员
 
注册日期: 2008-04-10
年龄: 35
帖子: 4
声望力: 0
看看想想~ 正向着好的方向发展
默认 回复: 求助:matlab与VC接口设置

我也是这样的问题啊 有没人出来解答一下啊~~~
看看想想~ 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码


相似的主题
主题 主题作者 版面 回复 最后发表
[分享][资料]《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


所有时间均为北京时间。现在的时间是 18:11


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.