A colleague and I have spent a few years developing a really cool Matlab application, MDLcompress. Within Matlab, I can type \"MDLcompress(\'filename.txt\')\" and it will tell
A possible way is to compile the matlab code into C,
and then make the C file into an apache module, and use an apache server.
I have no idea how complicated this is, but it may work.