matlab mwregsvr,Matlab生成exe文件时出错

选择其他编译器时exe文件无法生成

>> mbuild -setup

Please choose your compiler for building standalone MATLAB applications:

Would you like mbuild to locate installed compilers [y]/n? mbuild -setup

Select a compiler:

[1] Lcc C version 2.4.1 in D:\PROGRAM FILES\MATLAB71\sys\lcc

[2] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C/C++ 6.0

Location: C:\Program Files\Microsoft Visual Studio

Are these correct?([y]/n):

Try to update options file: C:\Documents and Settings\kka\Application Data\MathWorks\MATLAB\R14SP3\compopts.bat

From template:              D:\PROGRAM FILES\MATLAB71\BIN\win32\mbuildopts\msvc60compp.bat

Done . . .

--> ""D:\Program Files\MATLAB71\bin\win32\mwregsvr" "D:\Program Files\MATLAB71\bin\win32\mwcomutil.dll""

DllRegisterServer in D:\Program Files\MATLAB71\bin\win32\mwcomutil.dll succeeded

--> ""D:\Program Files\MATLAB71\bin\win32\mwregsvr" "D:\Program Files\MATLAB71\bin\win32\mwcommgr.dll""

DllRegisterServer in D:\Program Files\MATLAB71\bin\win32\mwcommgr.dll succeeded

>> mex -setup

Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? mex -setup

Select a compiler:

[1] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio

[2] Lcc C version 2.4.1 in D:\PROGRAM FILES\MATLAB71\sys\lcc

[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio

[4] Open WATCOM C/C++ version 1.3 in d:\watcom-1.3

[0] None

Compiler: 3

Please verify your choices:

Compiler: Microsoft Visual C/C++ 6.0

Location: C:\Program Files\Microsoft Visual Studio

Are these correct?([y]/n):

Try to update options file: C:\Documents and Settings\kka\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat

From template:              D:\PROGRAM FILES\MATLAB71\BIN\win32\mexopts\msvc60opts.bat

Done . . .

***************************************************************************

Warning: The file extension of 32-bit Windows MEX-files was changed

from ".dll" to ".mexw32" in MATLAB 7.1 (R14SP3). The generated

MEX-file will not be found by MATLAB versions prior to 7.1.

Use the -output option with the ".dll" file extension to

generate a MEX-file that can be called in previous versions.

For more information see:

MATLAB 7.1 Release Notes, New File Extension for MEX-Files on Windows

***************************************************************************

>> mcc -m main yundongfenxi result donghua result_db myfun

Could not find the compiler "cl" on the DOS path.

Use mbuild -setup to configure your environment properly.

D:\PROGRAM FILES\MATLAB71\BIN\WIN32\\..\MEX.PL: Error: Unable to locate compiler.

[本帖最后由 kakankang 于 2009-6-2 16:57 编辑]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值