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
Based on the tags, I assume you're trying to deploy to Tomcat or similar. The most straightforward way to do this is to use MATLAB Builder JA to create a Java wrapper for your code, then use the standard tools to deploy the Java as a web service.