Run following command:
curl https://gist.githubusercontent.com/psjinx/526f32b69c0655624b87/raw/setup.sh | sh| #!/usr/bin/env xdg-open | |
| [Desktop Entry] | |
| Type=Application | |
| Icon=/usr/share/icons/matlab.png | |
| Name=MATLAB R2014a | |
| Comment=Start MATLAB - The Language of Technical Computing | |
| #Uncomment the following line and comment the line after to | |
| #force matlab to use the 32 bits architecture | |
| #Exec=matlab -arch=glnx86 -desktop | |
| Exec=matlab -desktop | |
| Categories=Development; | |
| #Uncomment the following line if you've got several matlab icons in the launcher | |
| #StartupWMClass=com-mathworks-util-PostVMInit |
| sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png | |
| sudo wget https://gist.githubusercontent.com/psjinx/526f32b69c0655624b87/raw/matlab.desktop -O /usr/share/applications/matlab.desktop |