0

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 matching selector to the file's scope.

-- https://docs.sublimetext.io/guide/usage/build-systems.html

Mark Amery
  • 143,130
  • 81
  • 406
  • 459
Alessandro Cuttin
  • 3,822
  • 1
  • 30
  • 36

1 Answers1

0

You may try to change the selector from "source.m" to "source.matlab", based on the example.

Mark Amery
  • 143,130
  • 81
  • 406
  • 459
ChXi
  • 1