Fix Ubuntu Desktop Matlab icons and Menu items

Create a start/activities menu icon for Matlab or other programs in Ubuntu by downloading Matlab icon:

curl https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -o ~/.local/share/icons/matlab.png

Create file: ~/.local/share/applications/matlab.desktop

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=matlab.png
Name=MATLAB
Exec=matlab -desktop
Categories=Development;

Notes

reference