|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
在command的领命行中输入: o: \/ ~, x( ~$ S+ _" Z
( x5 l$ g( K' S( ~5 a# b) }! Q0 Usudo gedit /usr/share/applications/matlab.desktop
5 B2 n0 m! t# h5 |6 K+ y2 h% o1 A; ]4 j
把下面的复制粘贴进去
- O; a4 a, j; {: \; H3 k* q6 D0 d" T9 I% t$ X( b" E$ I
[Desktop Entry]
# E3 l5 a9 z/ Y/ TType=Application
/ v% g3 W: E& L3 iName=Matlab
/ y+ U8 c! c9 K. m/ d& ~' K7 dGenericName=MATLAB
: O6 T/ m+ I6 C6 r( Y- I" ?, ?Comment=Matlab:The Language of Technical Computing
) ~! D6 p- ?! I1 D2 HExec=sh /home/ubuntu/MATLAB/R2016b/bin/matlab -desktop& ~* |8 t3 z! M8 ?9 t
Icon=/home/ubuntu/MATLAB/R2016b/toolbox/nnet/nnresource/icons/matlab.png
8 u+ ^$ c. u! [ h; K* iStartupNotify=true! v1 |6 t" z q
Terminal=false
3 K" O/ u) F+ C" c( \Categories=Development;Matlab;: I" B4 s+ `' H+ W7 [$ I
/ h! B" r, u% ?7 r) N8 K此处有要修改的地方:
" n# G7 b: @9 ?, _0 ~' ^
' }4 G: P1 \. O: p0 m1. Exec=sh /home/ubuntu/MATLAB2016b/bin/matlab -desktop # 这个/home/ubuntu/MATLAB2016b是我的matlab安装的路径 这个改为自己的MATLAB的路径
7 M5 z& S c( ]/ \( D, I" w9 t, ]8 B
2.Icon=/home/ubuntu/MATLAB2016b/toolbox/nnet/nnresource/icons/matlab.png #这个是对应的图片的路径 改为自己的路径. M/ }" X8 G$ e; J
g# Z) N5 r( Z. |9 V! `% z6 t0 B/ g
保存 * n7 t% r! k4 Q M6 K, h# f
. H3 w0 K b7 F5 E8 |! `5 a
在到/usr/share/applications/matlab 把matlab复制到桌面 点击就ok了 可以打开 2 v9 b' {! B- `( |
* E: ^9 ]1 T! ~3 G E1 S2 H" b% c
7 t& b3 o) l2 K
% G6 M+ G+ E3 G" y! P# U |
|