ubuntu16.04 为matlab2017a设置快捷键

cd /usr/share/applications

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=/usr/local/MATLAB/R2017a/toolbox/nnet/nnresource/icons/matlab.png
StartupNotify=true
Terminal=false
Categories=Development;Matlab;

这样用快捷键启动会有报错:java.lang.runtime.Exception************
在终端运行下面代码即可:
sudo chmod -R a+rw ~/.matlab

你可能感兴趣的:(ubuntu16.04 为matlab2017a设置快捷键)