想联合VC6.0和Matlab编程画图,我这么设置为什么有错呢?
用2种方法都有问题:1 用Matcom。
装Matcom4.5时,跳出是否自动寻找matlab,若选是则提示“没有找到”;若手动选择(我已经安装了)安装目录,居然也提示说没有找到。
请问大侠这个到底是怎么回事啊?
2 用Compiler
一开始设置时就出错了:
>> mbuild-setup
Select a compiler:
Lcc C version 2.4 in C:\MATLAB6P5\sys\lcc
Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio
None
Compiler: 2
The default options file:
"C:\Documents and Settings\cgj\Application Data\MathWorks\MATLAB\R13\compopts.bat"
is being updated from C:\MATLAB6P5\BIN\WIN32\mbuildopts\msvc60compp.bat...
--> "C:\MATLAB6p5\bin\win32\mwregsvr C:\MATLAB6p5\bin\win32\mwcomutil.dll"
DllRegisterServer in C:\MATLAB6p5\bin\win32\mwcomutil.dll succeeded
--> "C:\MATLAB6p5\bin\win32\mwregsvr C:\MATLAB6p5\bin\win32\mwcommgr.dll"
DllRegisterServer in C:\MATLAB6p5\bin\win32\mwcommgr.dll succeeded
Installing the MATLAB Visual Studio add-in ...
Updated C:\Program Files\Microsoft Visual Studio\common\msdev98\template\MATLABWizard.awx
from C:\MATLAB6P5\BIN\WIN32\MATLABWizard.awx
Updated C:\Program Files\Microsoft Visual Studio\common\msdev98\template\MATLABWizard.hlp
from C:\MATLAB6P5\BIN\WIN32\MATLABWizard.hlp
Updated C:\Program Files\Microsoft Visual Studio\common\msdev98\addins\MATLABAddin.dll
from C:\MATLAB6P5\BIN\WIN32\MATLABAddin.dll
Merged C:\MATLAB6P5\BIN\WIN32\usertype.dat
with C:\Program Files\Microsoft Visual Studio\common\msdev98\bin\usertype.dat
Note: If you want to use the MATLAB Visual Studio add-in with the MATLAB C/C++
Compiler, you must start MATLAB and run the following commands:
cd(prefdir);
mccsavepath;
(You only have to do this configuration step once.)
Usage:
MBUILD sourcefile1 [... sourcefileN]
Use the -help option for more information, or consult the MATLAB C/C++ Math
Library User's Guide.
MBUILD.BAT: Error: No file names given.
??? Undefined function or variable 'setup'.
------
求助高手
谢谢! 原帖由 SantaClaus 于 2006-12-8 22:52 发表
用2种方法都有问题:
1 用Matcom。
装Matcom4.5时,跳出是否自动寻找matlab,若选是则提示“没有找到”;若手动选择(我已经安装了)安装目录,居然也提示说没有找到。
请问大侠这个到底是怎么回事啊?
...
问题1:参考关于matcom的精华贴
问题2:是 mbuild -setup
页:
[1]