Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run MATLAB in Interactive mode using the following script.:

Code Block
languagebash
titleMATLAB Interactive - matlab-interactive.sh
#!/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
languagebash
titleMATLAB Batch - matlab-batch.sh
#!/bin/bash
export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic
/datasets/software/R2020b/bin/matlab -nodisplay -nosplash -batch "run('$1');"

...