title: Compile a matlab m-file into a usable C-function
body: <p>Hey there,
  is there a way to compile (or better to say: 'translate') a matlab m-function into a C-function so that I can use it in the CUDA kernel of my mex file?
  thanks a lot!</p>