I’m trying to write a decent build script for Matlab in Sublime Text 2.
I’ve managed to get the build script to successfully run Matlab scripts, but, despite the documented methods for doing so, I can’t get Sublime Text 2 to create automatic builds of .m files using the “selector” syntax. What’s going on here?
Here is my build script:
[code]
{
"cmd": "/Applications/MATLAB_R2012a.app/bin/matlab", "-nosplash", "<$file_name"],
"selector": "source.m"
}[/code]
More info here in the bug section of my github page, where you can see what I and one other user has tried so far: https://github.com/jessebikman/Sublime-Text-2-build-Matlab-code/issues/1
Also, for what it’s worth, this all started as a branch off of this Stack Overflow question, which I asked: http://stackoverflow.com/questions/11869586/creating-custom-build-system-for-matlab-through-sublime-text-2