打开终端terminal

1 下载图标

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/matlab_Logo.png -O /usr/share/icons/matlab.png

2 创建空的快捷方式

sudo touch /usr/share/applications/matlab.desktop

3 编辑快捷方式

sudo gedit /usr/share/applications/matlab.desktop

4 仿照下述格式编辑然后保存

#!/usr/bin/env xdg-open

[Desktop Entry]
Type=Application
Terminal=false
Exec=/home/MATLAB_R2017a/bin/matlab -desktop   //matlab路径 使用时删掉注释
Name=MATLAB
Icon=/usr/share/icons/matlab.png        //matlab图标路径
Comment=Scientific computing environment

5 启动matlab

可以在下列文件夹中看到快捷方式,复制到桌面双击即可启动

/usr/share/applications/matlab.desktop

6 如果遇到提示no writting permission on directory: home/xxx/.matlab

删除掉文件夹后再次启动就OK了。

sudo rm -rf /home/liangnn/.matlab

以上这篇在ubuntu16.04上创建matlab的快捷方式(实现方法)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持华域联盟。

您可能感兴趣的文章:

声明:本站(华域联盟www.cnhackhy.com)所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。