How to set up Matlab shortcut

  • 2020-05-14 05:47:08
  • OfStack

ubuntu creates Matlab shortcuts

Installed Matlab under ubuntu, it is too troublesome to go into the command line every time to start, I built a shortcut, a lot of online information

However, when I set it up, I went to /usr/share/applications and set up Matlab.desktop with the touch command

Copy the following code in with vim or gedit open


[Desktop Entry] 
Type=Application 
Name=Matlab 
GenericName=Matlab 2014b 
Comment=Matlab:The Language of Technical Computing 
Exec=/usr/local/MATLAB/R2014b/bin/matlab 
Icon=/usr/local/MATLAB/Matlab.png 
Terminal=true 
StartupNotify=true 
Categories=Development;Applications;Office; 

Exec and Icon are mainly modified, Exec is the directory where Matlab is installed, Icon is the directory where the icon is located, and terminal is all set to false, terminal=false, which is not possible under my computer, so terminal is set to true, so the shortcut can run normally, for unknown reasons.

When you're done, don't forget to give Matlab.desktop permission with the chmod command.

Thank you for reading, I hope to help you, thank you for your support of this site!


Related articles: