![]() |
[求助]matlab与vc用引擎接口
我在设置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,即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: |
1
不知道具体怎么操作啊
更新就是把模板里的复制过去吗 |
你大概是装vc的时候没有把所有组件装在一个文件夹下面
|
所有时间均为北京时间。现在的时间是 12:33。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.