cd /usr/share/applicationstop
sudo gedit matlab.desktop
[Desktop Entry]
Type=Application
Name=Matlab
GenericName=Matlab 2017a
Comment=Matlab:The Language of Technical Computing
Exec=sh /usr/local/MATLAB/R2017a/bin/matlab -desktop
Icon=/home/xsd/software/matlab.jpg
StartupNotify=true
Terminal=false
Categories=Development;Matlab;