...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic /datasets/software/R2020b/bin/matlab -nojvm -nodisplay -nosplash |
Rub Matlab in Batch mode where the argument to the script is the name of your batch file.
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic /datasets/software/R2020b/bin/matlab -nodisplay -nosplash -batch "run('$1');" |
...