登录论坛

查看完整版本 : [MATLAB基础] 生成可执行文件的问题


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
什么样的文件才能生产可执行文件?