Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

These two scripts are examples of how to run Matlab on the DSMLP / Research Cluster.  Do not run Matlab on the login node.  Only run it from within a job.


Run Matlab in interactive mode

Matlab Interactive
#!/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.

Matlab Batch mode
#!/bin/bash
export MLM_LICENSE_FILE=/datasets/software/R2020b/licenses/network.lic
/datasets/software/R2020b/bin/matlab -nodisplay -nosplash -batch "run('$1');"



  • No labels