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:

  • 相关阅读:
    Sql语句中IN和exists的区别及应用
    时间戳/Date(1354116249000)/ 转换
    SqlServer不允许更改字段类型(表中已有数据)
    Firefox内存占用过高解决方法
    接口开发中的测试问题
    c# winform 窗体起始位置 设置
    【整理】C#文件操作大全(SamWang)
    C#实现JSON序列化与反序列化
    解决方案资源管理器中跟踪活动项
    C#中方法的参数的四种类型
  • 原文地址:https://www.cnblogs.com/math2010/p/2373803.html
Copyright © 2011-2022 走看看