zoukankan      html  css  js  c++  java
  • Ubuntu下给Matlab建立快捷方式

    我在Ubuntu下是用的默认安装的,路径为/usr/local/MATLAB/R2010b

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

      写入以下内容

      [Desktop Entry]

      Type=Application

      Name=Matlab

      GenericName=Matlab 2010b

      Comment=Matlab:The Language of Technical Computing

      Exec=sh /usr/local/MATLAB/R2010b/bin/matlab -desktop

      Icon=/usr/local/MATLAB/Matlab.png

      Terminal=false

      Categories=Development;Matlab;

      图片

          图片为png格式,是透明背景的哦,Linux可不像Windows,是支持透明背景的,貌似任何不太大的图片都可以作为图标使用。

      这样,你就可以在左上角的Application菜单中的Office目录下找到Matlab啦。

      你还可以在顶栏条处点右键选择”增加到面板“,然后选择“载入程序“,在Office目录下选择Matlab。Matlab的快捷方式就出现在顶栏啦!

      下次启动Matlab,只需要一键点击落~爽!

    If you wanna use matlab in linux and you don’t like start a terminal to run matlab every time, then this is the text file you need to type:

    [Desktop Entry]
    Version=1.0
    Name=Matlab
    GenericName=Matlab
    Comment=Matlab:The Language of Technical Computing
    Exec=/usr/local/MATLAB/R2010b/bin/matlab -desktop
    Icon=/home/sun/.icons/matlab.png
    StartupNotify=true
    Terminal=false
    Type=Application
    Categories=Application;Development

    And you need to save the file here:

    /usr/share/applications/matlab.desktop

    Finally, it would be the best if you can find a matlab icon and save it somewhere you prefer. (in my case, Icon=/home/sun/.icons/matlab.png)
    A possible option is this one:

  • 相关阅读:
    Django框架之ORM常用字段和参数、单表操作
    Django框架之模板层
    Django框架之视图层
    Django框架之路由层,本地虚拟环境搭建
    Django框架
    Django框架
    在学习Django框架之前所需要了解的知识点
    JQuery
    Android开发(八)-界面编程
    Android开发(七)-签名APK
  • 原文地址:https://www.cnblogs.com/math2010/p/2373803.html
Copyright © 2011-2022 走看看