In the following directions, replace MCR_ROOT by the directory where the MATLAB Runtime is installed on the target machine. (1) Set the environment variable XAPPLRESDIR to this value: MCR_ROOT/v90/X11/app-defaults (2) If the environment variable LD_LIBRARY_PATH is undefined, set it to the concatenation of the following strings: MCR_ROOT/v90/runtime/glnxa64: MCR_ROOT/v90/bin/glnxa64: MCR_ROOT/v90/sys/os/glnxa64: MCR_ROOT/v90/sys/opengl/lib/glnxa64 If it is defined, set it to the concatenation of these strings: ${LD_LIBRARY_PATH}: MCR_ROOT/v90/runtime/glnxa64: MCR_ROOT/v90/bin/glnxa64: MCR_ROOT/v90/sys/os/glnxa64: MCR_ROOT/v90/sys/opengl/lib/glnxa64