Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Steps to install Matlab in linux

1. First make a folder like Matlab write :- "mkdir Matlab"


2. Then write :- "sudo mount -o loop name_of_iso_file.iso Matlab"
3.You can use the default directory /usr/local/MATLAB_version_no./
OR
make another directory to give path while installation, write :- "mkdir -p Inst
alled_Soft/Matlab"
4. Then go into the folder where the .iso file was mounted, write :- "cd Matlab"
5 Run the command to install, write :- "./install"
6. While installation the installer will ask for path give the path -- home/Inst
alled_Soft/Matlab. Also key will be asked which should be in the some folder.
Complete installation procedure and then activate using licenses provided.
________________________________________________________________________________
_____________________________
Now the installation is complete but execution is remaining:
There are 2ways of running matlab
Method 1 (Most Preferred and working)
1.To start MATLAB from terminal, write:
/usr/local/MATLAB_2008a/bin/matlab
OR
installation directory you gave, followed by /bin/matlab
Method 2 (Has worked sometimes but not better than Method 1)
1. Then from your account (and not root) edit the hidden file bashrc, To do this
write :- "gedit ~/. bashrc"
2. In the bashrc file write this anywhere :- "export PATH= ~/ Installed_Soft/Mat
lab/bin:$PATH" and save the flle
3. Then to implement the change either in terminal write:- "source ~/.bashrc"
or
simply close terminal and reopen.

You might also like