I set up mcc and made a new Build System trying to get the same experience as the Command Window in Matlab.
Building an .sh file and running it with:
"shell_cmd": "mcc -m '$file'"
takes a long time and does not work properly. Surely, there must be a simpler way. How do I get the output of Matlabs Command Window in Sublime as if would run the script in Matlab?
You can directly create a build system for matlab and edit the build file as:
Google and you will find more detailed instructions.