MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 生成可执行文件的问题 (https://www.labfans.com/bbs/showthread.php?t=9697)

hnexplorer 2009-09-17 17:54

生成可执行文件的问题
 
请问如何生产一个独立的可执行文件。看帮助如下命令可以生成可执行文件
mcc -m tt.m
但是运行老是出错,不能编译。错误提示:
??? Error: File "tt" is a script M-file and cannot be compiled with the current Compiler.

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

abc886 2009-09-18 13:48

回复: 生成可执行文件的问题
 
上面那句话的意思是:tt.m是一个描述性的m文件,不能被当前编译器编译

hnexplorer 2009-09-19 01:17

回复: 生成可执行文件的问题
 
什么样的文件才能生产可执行文件?


所有时间均为北京时间。现在的时间是 06:25

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