MATLAB on chip
How to use MatLab on chip?
Create a slurm allocation using srun
Load the MATLAB module:
module load MATLAB/2025bMove the .MathWorks configuration folder to your research volume
Due to MatLab writing files to your home directory, which causes your home directory quota to fill up. This results in execution issues with MatLab
Example:[user@c24-52 ~]$ matlab -nodisplay An error occurred while extracting product files. Try rerunning the installer. For help, see this <a href="https://www.mathworks.com/pi_ee_mci_glnxa64">support article</a>. An unexpected error has occurred. To resolve this issue, contact <a href="https://www.mathworks.com/pi_gene_mci_glnxa64">Technical Support</a>. < M A T L A B (R) > Copyright 1984-2025 The MathWorks, Inc. R2025b (25.2.0.2998904) 64-bit (glnxa64) August 21, 2025 An error occurred while extracting product files. Try rerunning the installer. For help, see this <a href="https://www.mathworks.com/pi_ee_mci_glnxa64">support article</a>. An unexpected error has occurred. To resolve this issue, contact <a href="https://www.mathworks.com/pi_gene_mci_glnxa64">Technical Support</a>. To get started, type doc. For product information, visit www.mathworks.com.Steps to resolve (replace $GROUP and $USER with your group’s name, and your username respectively)
mv ~/.MathWorks /umbc/rs/$GROUP/users/$USER/.MathWorksln -s /umbc/rs/$GROUP/users/$USER/.MathWorks ~/.MathWorks
Run MatLab
matlab -nodisplayRun your MatLab code!
Helpful Links
Accessing GUI Applications on Chip Using X11 Forwarding - Steps on utilizing X11 Forwarding for MatLab graphics