分类: LINUX
2011-05-25 03:06:24
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