Chinaunix首页 | 论坛 | 博客
  • 博客访问: 640468
  • 博文数量: 486
  • 博客积分: 10125
  • 博客等级: 上将
  • 技术积分: 5842
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 18:34
文章分类

全部博文(486)

文章存档

2011年(52)

2010年(107)

2009年(289)

2008年(38)

我的朋友

分类: LINUX

2011-05-25 03:06:24



How to install Matlab on Ubuntu

November 19th, 2009

Step 1. Download an ISO image

You need to download  matu2k9a.iso .

Step 2. Install Matlab

Launch Gnome-terminal and type:

sudo mkdir /mnt/matlab
sudo mount -t iso9660 -o iocharset=utf8,loop matu2k9a.iso /mnt/matlab
sudo /mnt/matlab/install

After the end of the installation process, type:

/usr/local/matlab/install_matlab

And answer ‘Y’ to all questions.

Step 3. Create a shortcut

Launch Gnome-terminal and type:

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

Then type in these content into GEdit:

[Desktop Entry]
Name=Matlab
Exec=matlab -desktop
Encoding=UTF-8
Terminal=false
Version=1.0
Type=Application
Categories=Development
Icon=accessories-calculator

Step 4. Solve the Chinese characters problem

This step is optional if Chinese characters are not displayed as blank square.

Open Gnome-terminal and type:

sudo gedit /usr/local/matlab/bin/matlab

Then insert this line after the first line:

export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre

阅读(485) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~