请教:如何将script .m file compile成可执行程序?我有一个script .m file,用matlab写的。
请问怎样才能生成C code或者将它compile成可执行程序呢?
我直接用 mcc -m myfile.m,他报错说 File "myfile" is a script M-file and cannot be compiled with the current Compiler.
[LuckyStar (10-27 13:05, Long long ago)]
[ 传统版 |
sForum ][登录后回复]1楼
in what environment do you want to execute the code?under Matlab you can execute .m directly right?[simon (10-27 21:11, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼