Hi folks, I have a Matlab script that produces a lot of graphics when run on my Windows laptop. But now the calculation becomes too long or too big and I want to put it on HPC. How do I get the graphics outputs if I run it as a batch job through SLURM?
If you want to see your plot, you can use the exportgraphics
function. Check the following guide:
PS: In some cases, you may be interested to save the workspace for later inspection of the variables. You can use the save
function, see the following page: https://www.mathworks.com/help/matlab/ref/save.html .