How to install Matlab in Ubuntu?



How to install Matlab in Ubuntu?

How to install Matlab in Ubuntu?

Step 1: Download matlab
Step 2: Install matlab
Goto the path where matlab is downloaded. (path) ……/MATLAB/R2016b
$sudo ./install
$matlab &

If it is not working try,

$sudo apt-get install matlab-support

Step 3: Set a matlab icon and Launcher (https://help.ubuntu.com/community/MATLAB)
1. Get an icon: sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
2. Get the launcher file: sudo wget ‘https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2016b.desktop’ -O /usr/share/applications/matlab.desktop

Step 4: Make a Matlab launcher
$cd ~/.local/share/applications
$pwd
/home/alamgir/.local/share/applications
$ls
matlab_r2016b_-_academic_use.desktop
$gedit matlab_r2016b_-_academic_use.desktop &

Replace the following command (see more) [Desktop Entry] Version=1.0
Type=Application
Icon=/usr/share/icons/matlab.png
Name=Matlab
Comment=Start MATLAB – The Language of Technical Computing Exec=matlab -desktop -nosplash
Terminal=false
Categories=Development;
StartupNotify=true
StartupWMClass=sun-awt-X11-XFramePeer
X-Ayatana-Desktop-Shortcuts=New_Window;

Name[en_US]=MATLAB

[New_Window Shortcut Group]
Name=start a new MATLAB instance
Exec=matlab -desktop

Comments are closed.