Documente Academic
Documente Profesional
Documente Cultură
community.linuxmint.com
The website for all Linux Mint users
Home
Community
Ideas
Tutorials
Hardware
Software
Countries
Users
Moderation
Chat room
Testing
ISO Images
Teams
Login
Username
Password
Remember me
Forgot password
Login Register
Back
Written by:
jahid_0903014
Score: 2
votes: 9
Format: Article
1/6
1/21/2016
1. If you are the only user who will use matlab then follow the first step (#1).
2. If there are several users who will use matlab with several user accounts then follow second step (#2).
run Matlab:
go to the home/user/Matlab/bin directory and double click on matlab and 'select run in terminal' or enter
command in terminal:
/home/user/Matlab/bin/matlab
here user = your user name
or, to run from the menu, follow these steps:
1. in the terminal enter this code:
sudo gedit /usr/share/applications/matlab.desktop
2. copy paste the following lines into the newly opened .desktop file
http://community.linuxmint.com/tutorial/view/1493
2/6
1/21/2016
[Desktop Entry]
Exec=/home/user/Matlab/bin/matlab -desktop
Icon=/home/user/Matlab/X11/icons/matlab64c_icon.xpm
Type=Application
Comment=Matrix Laboratory
Name=Matlab
Categories=Development;
user will be replaced by your user name. (must).
For Exec and Icon, the path should be correct i.e you must change "user" according to your path. (must).
in "Name= Matlab " you can change the name whatever you want.(optional).
in "GenericName" you can put whatever you want. you can cut off this line too.(optional).
save & exit the .desktop file.
a new entry named "Matlab" will be added in the menu under the programming section.
3. now go to menu->programming->Matlab.
Enjoy... your Matlab environment....
3/6
1/21/2016
sudo ./install
now you can skip the next step(3) and after finishing the installation clear the mnt directory with sudo umount /mnt
to run Matlab:
go to the /usr/local/MATLAB/R2011b/bin/ directory and double click on matlab and 'select run in
terminal' or enter command in terminal:
/usr/local/MATLAB/R2011b/bin/matlab
or, to run from the menu, follow these steps:
1. in the terminal enter this code:
sudo gedit /usr/share/applications/matlab.desktop
2. copy paste the following lines into the newly opened .desktop file
[Desktop Entry]
Exec=/usr/local/MATLAB/R2011b/bin/matlab -desktop
Icon=/usr/local/MATLAB/R2011b/X11/icons/matlab64c_icon.xpm
Type=Application
Comment=Matrix Laboratory
Name=Matlab
Categories=Development;
in "Name= Matlab " you can change the name whatever you want.(optional).
in "GenericName" you can put whatever you want. this line can be cut off too.(optional).
save & exit the .desktop file.
a new entry named "Matlab" will be added in the menu under the programming section.
http://community.linuxmint.com/tutorial/view/1493
4/6
1/21/2016
3. now go to menu->programming->Matlab.
Enjoy... your Matlab environment....
the above process was tested on Matlab R2011b. other version should work too.
Tags: install Matlab,matlab,matlab in linux
Created: 2 years ago.
Last edited: 1 year ago.
Reviewed: 2 years ago.
Read 0 times.
Comments
may be you didn't run the installer with sudo.
you should run it with :
sudo ./install
complete method for you:
mount the iso with this command
sudo mount -o loop path_to_the_iso_file_matlabxxx.iso /mnt
1 year ago
jahid_0903014 then
cd /mnt
1 year ago
1 year ago
Rboggyz
sudo ./install
after install finishes, unmount it with
sudo umount /mnt
I've mounted the image,I ran the installer in terminal and got this:
Preparing installation files ...
Installing ...
cp: cannot create regular file
/usr/local/MATLAB/R2013a/licenses/license.lic: Permission denied
cp: cannot create regular file /usr/local/MATLAB/R2013a/Matlab.png:
Permission denied
chmod: changing permissions of /usr/local/MATLAB/R2013a/Matlab.png:
Operation not permitted
cp: cannot create regular file /usr/local/MATLAB/R2013a/Matlab.desktop:
Permission denied
chmod: changing permissions of
/usr/local/MATLAB/R2013a/Matlab.desktop: Operation not permitted
Finished
Can I have some help, please??
5/6
1/21/2016
http://community.linuxmint.com/tutorial/view/1493
6/6