On AWS I have a matlab stack running. Via remote desktop the matlab runs (via a gui). However via ssh I would like to run the matlab via terminal as part of a bash pipeline with no gui popping up. However, when I try and run a simple matlab script via terminal using ssh
/usr/local/MATLAB/R2019a/bin/matlab -batch 'run simpleScript.m'
I get this error:
MATLAB is selecting SOFTWARE OPENGL rendering. terminate called after throwing an instance of '(anonymous namespace)::DisplayError' what(): No display available.
I'm wondering if anyone has any work around for this? Is this just a limitation to using matlab on aws?
cheers for any help!