matlab's cli interpreter is dumber than octave, in that it doesn't know what to do with the #! magic number, and it doesn't know to exit at the end of a file (I can actually see the point in that, kind of). So, this is my quick attempt to make something that would allow you to, well,
./test.m
It ALMOST works. ALMOST. No errors are thrown or anything! :v On the other hand, you don't actually see "hello world!!!!1!" either. Haven't tried anything like, say, printing to a file.