请教:如何将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.
请问怎样才能生成C code或者将它compile成可执行程序呢?
我直接用 mcc -m myfile.m,他报错说 File "myfile" is a script M-file and cannot be compiled with the current Compiler.