How to create shortcuts to matlab in ubuntu16.04
This article will explain in detail how to create matlab shortcuts in ubuntu16.04. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Open the terminal terminal
1 download icon
Sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png-O / usr/share/icons/matlab.png
2 create an empty shortcut
Sudo touch / usr/share/applications/matlab.desktop
3 Edit Shortcut
Sudo gedit / usr/share/applications/matlab.desktop
4 edit and save in the following format
#! / usr/bin/env xdg-open [Desktop Entry] Type=ApplicationTerminal=falseExec=/home/MATLAB_R2017a/bin/matlab-desktop / / matlab delete the comment Name=MATLABIcon=/usr/share/icons/matlab.png / / matlab icon path Comment=Scientific computing environment when using the path
5 start matlab
You can see the shortcut in the following folder. Copy to the desktop and double-click to start it.
/ usr/share/applications/matlab.desktop
6 if you encounter a prompt no writting permission on directory: home/xxx/.matlab
Delete the folder and start OK again.
Sudo rm-rf / home/liangnn/.matlab
This is the end of this article on "how to create matlab shortcuts in ubuntu16.04". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.