From: Juliette Salexa on
Hello,
I was wondering if I can compile my m-file into machine code,
so that I can run it on clusters ?

Cheers,
Juliette
From: Walter Roberson on
Juliette Salexa wrote:
> Hello,
> I was wondering if I can compile my m-file into machine code, so that I
> can run it on clusters ?

No.

However, if you purchase the "Matlab Compiler" (which actually only builds
threaded interpreted code, not compiled code) then what it outputs for each .m
file is in theory runnable on any target provided that you have the MCR
(Matlab Component Runtime) libraries for that Matlab version for that target.

On the other hand, if you wish to run on clusters, you may instead wish to be
investigating the Mathworks Distributed Computing Toolbox and/or Distributed
Computing Engine.