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:

  • 相关阅读:
    .ellipsis 超过的部分显示省略号
    js 里面上一页和下一页
    CSS让你的IE浏览器崩溃(Crash your IE)作者:雪候鸟 来源: 风雪之隅
    元素居中显示
    jquery Carousel
    tabs 选择加载
    弹出窗
    下拉广告`
    opacity
    小波分析实验: 实验1 连续小波变换
  • 原文地址:https://www.cnblogs.com/math2010/p/2373803.html
Copyright © 2011-2022 走看看