The "kCGErrorRangeCheck" error you are receiving seems to be caused by the window manager as opposed to MATLAB. It may be that you do not have the necessary permissions to remotely run a graphical application. Check with your system administrator about what permissions you have assigned to your account.
Users may still be able to use MATLAB's command line interface. This can be done by starting MATLAB with the following commands:
matlab -nodesktop
matlab -nojvm
However, it may not be possible to display MATLAB figures.
Best Answer