If you install Matlab or the Matlab runtime library to the default location, the scripts should find it. If you installed it somewhere else, you can set an environment variable ‘BrainSuiteMCR’ on Linux or Mac before running the script. For Linux, the default for the Matlab runtime would be:
or for the full Matlab install:
Note that this is different for Mac.
You can also edit the scripts in the BrainSuite svreg and bdp folders, but setting an environment variable will be easier.
You shouldn’t need to do this for Windows, because Windows stores the location in its registry.