请教:如何将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.
in what environment do you want to execute the code?
under Matlab you can execute .m directly right?

You may say I'm a dreamer
but I'm not the only one...