MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   还是M文件的编译问题 (https://www.labfans.com/bbs/showthread.php?t=2705)

limingaini119 2008-04-29 11:02

还是M文件的编译问题
 
我使用的是MATLAB6.5版本,使用mcc -p tuxingjiemian2gai 命令对文件tuxingjiemian2gai进行编译产生一堆HPP、CPP文件后提示选择compiler,但只有一个选项0 [none]
然后我重新用 mbuild -setup 命令安装complier3 重新编译后还是产生一堆HPP、CPP文件,然后就提示错误
MBUILD.BAT: Error: Compile of 'tuxingjiemian2gai.cpp' failed.

??? Error using ==> mbuild
Unable to complete successfully

??? Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).

Error in ==> C:\MATLAB6p5\toolbox\compiler\mcc.dll

还望高手指教!

limingaini119 2008-04-29 12:13

继续前述
 
难道是因为对于6.5版本的中的compiler3.0,如果M文件有使用到对象方式建立的函数 如:信号处理工具箱的FRD WELCH,神经网络工具箱中的函数sim等MATLAB自定义的对象型数据结构,进行编译时就会发生错误 7.0版修正了这个错误。请大家参与讨论下

zhanhuichong 2008-05-05 15:00

是否有load save 等类似命令
有则改为uigetfile


所有时间均为北京时间。现在的时间是 05:00

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