eval: 1: /tmp/mathworks_11425/sys/java/jre/glnxa64/jre/bin/java: Permission denied
http://askubuntu.com/questions/120801/how-do-i-install-matlab-r2012a
You have to give permissions for the java to run (credits to http://kittipatkampa.wordpress.com/2012/02/12/matlab-on-ubuntu-from-install-make-launching-icon-to-uninstall/ )
After proceeding the steps by Mahesh, go to the folder
cd sys/java/jre/glnxa64/jre/bin/ (the folder that appears in your error message)
and then
chmod +x java
Ready to go. Go back to where your install file is and type
sudo sh install
The setup will (hopefully) launch.
run the matlab