Skip to content

Instantly share code, notes, and snippets.

@amoodie
Last active October 1, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amoodie/1a838d695743b3f1c20d9c49cef02c6a to your computer and use it in GitHub Desktop.
Save amoodie/1a838d695743b3f1c20d9c49cef02c6a to your computer and use it in GitHub Desktop.
Sublime 3 build system for Matlab on Ubuntu Linux
{
// setup for 2017b, Ubuntu 16.04
// change path for other Matlab versions
// quit call closes all figures and kills matlab process
"cmd": ["/usr/local/MATLAB/R2017b/bin/matlab", "-nodesktop", "-nosplash", "-r", "$file_base_name;quit"],
"selector": "source.m"
}
{
// setup for 2018a, Ubuntu 18.04
// change path for other Matlab versions
// quit call closes all figures and kills matlab process
"cmd": ["/usr/local/MATLAB/R2018a/bin/matlab", "-nodesktop", "-nosplash", "-r", "$file_base_name;quit"],
"selector": "source.m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment