This question is very similar to this one.
I have set up this matlab custom build in Sublime Text 3, according to this github repository:
{
"cmd": ["/usr/local/MATLAB/R2013a/bin/matlab", "-nosplash", "<$file_name"],
"selector": "source.m"
}
But if the build system is set to automatic, after pressing Ctrl + b
, Sublime Text says No Build System.
Is there something wrong with the selector?
selector
If the Tools | Build System | Automatic option is set, Sublime Text will automatically find the corresponding build system for the active file by matchingselector
to the file's scope.
-- https://docs.sublimetext.io/guide/usage/build-systems.html