I installed MATLAB in
/usr/local. Now when I try to launch it normally from dash or by typing
matlab in terminal, it starts up and then gives an error that says:
Internal error: No write permission on directory...
But it launches when I run it using
sudo. I don't want to run it as root.
I give a recursive write permission to .matlab directory with
sudo chmod -R 776 /home/uname/.matlab command. Then I tried launch matlab from terminal using command
matlab. It terminated with massage :
MATLAB is exiting because of fatal error.