...
Run MATLAB in Interactive mode using the following script.:
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic /datasets/software/R2020b/bin/matlab -nojvm -nodisplay -nosplash |
Run MATLAB in Batch mode using the following script where the argument to the script is the name of your MATLAB batch file (e.g. "matlab-batch.sh MyScript.m").
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic /datasets/software/R2020b/bin/matlab -nodisplay -nosplash -batch "run('$1');" |
...