Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-04-20
年龄: 39
帖子: 2
声望力: 0 ![]() |
![]()
我在设置matlab编译器的时候,按照提示输入mex -setup y 2 y后,得到如下信息:
>> 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:\MATLAB7\sys\lcc [2] Microsoft Visual C/C++ version 6.0 in D:\VC++.6.0.with.SP6\MSDev98 [0] None Compiler: 2 Please verify your choices: Compiler: Microsoft Visual C/C++ 6.0 Location: D:\VC++.6.0.with.SP6\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:\VC++.6.0.with.SP6\MSDev98'.) Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14\mexopts.bat From template: D:\MATLAB7\BIN\WIN32\mexopts\msvc60opts.bat Done . . . 请教下这是什么意思啊 |
![]() |
![]() |
![]() |
#2 |
高级会员
注册日期: 2007-04-05
帖子: 199
声望力: 28 ![]() ![]() ![]() ![]() |
![]()
意思好像是让你选择编译器,有两种选择,你选择了2,即Microsoft Visual C/C++的编译器,然后警告你说需要Microsoft Visual C++ 6.0的"VC98"和"Common"目录在同一个父目录下。
然后试着从模板D:\MATLAB7\BIN\WIN32\mexopts\msvc60opts.bat 更新选项文件C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14\mexopts.bat 大概就这意思吧...... 不知解释的对不对:smile: |
![]() |
![]() |
![]() |
#3 |
初级会员
注册日期: 2008-04-20
年龄: 39
帖子: 2
声望力: 0 ![]() |
![]()
不知道具体怎么操作啊
更新就是把模板里的复制过去吗 |
![]() |
![]() |
![]() |
#4 |
初级会员
注册日期: 2008-04-27
年龄: 43
帖子: 2
声望力: 0 ![]() |
![]()
你大概是装vc的时候没有把所有组件装在一个文件夹下面
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
外部控制參數個數 | fgabertb | MATLAB论坛 | 2 | 2008-05-30 20:59 |
如何在一个用guide生成的gui中用按纽弹出另一个图形框,且在后者执行时不会出错 | lizhen330225 | MATLAB论坛 | 0 | 2008-05-27 15:01 |
[求助]求救!!!MATLAB图像存储问题 | sea | MATLAB论坛 | 2 | 2008-05-22 17:02 |
【求助】请教FOR循环程序优化 | purplesapple | MATLAB论坛 | 0 | 2007-04-30 10:09 |