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:

  • 相关阅读:
    WPF开发进阶
    WPF开发进阶
    java 架构好文章
    Logback 输出 JPA SQL日志 到文件
    Linux Bash Shell j简单入门
    java内存空间简述
    PowerDesigner 16.5 反向PostgreSQL9.01 中 Unable to list the columns. SQLSTATE = 22003不良的类型值 short : t 解决方法
    Java代码自动部署
    Oracle优化技巧
    string类型与ASCII byte[]转换
  • 原文地址:https://www.cnblogs.com/math2010/p/2373803.html
Copyright © 2011-2022 走看看