The Matlab "compiler" is a myth. In the olden days, rubbish loopy Matlab code could be made to run faster by converting it into a MEX file and compiling it: the original Matlab "compiler". This product has since morphed into a mere deployment tool. It allows Matlab routines to run sans licence, so long as you don't mind the hefty baggage that's required. m-files run more slowly after being "compiled" now.
For quick Matlab-ish code, write some C++ Matrix classes and pass off data to lapack/blas.
- Steve