This page may be out of date. Submit any pending changes before refreshing this page.
Hide this message.
Quora uses cookies to improve your experience. Read more

How do I download and install MATLAB on Ubuntu 14.04?

6 Answers
Kaustubh Sridhar

Getting the MATLAb iso file :-

  1. Download it from the official MATLAB website (Download MATLAB, Simulink, Stateflow, and Other MathWorks Products) . I believe the latest version for Ubuntu is R2015b
  2. From the server of your university or company offering MATLAB versions and corresponding license keys

Mounting the ISO :-

  1. First create a location to mount the iso
  2. Then mount it at that location

NOTE :- You’ll have to make sure that the loop module is loaded before you can use this feature.

Use the following terminal commands in the order mentioned below

sudo modprobe loop
sudo mkdir /media/iso
sudo name_of_iso.iso /media/iso -t iso9660 -o loop

Installing :-

Now go to the location of the mounted iso

cd /media/iso

Now look at all the files

ls -l

And install by

sudo ./install

The installer will ask you to type the serial-key and later point to the license file

Darius Demar Apale

I had never tried installing this piece of software. If it has a repository or an official website, that is the secured place for you to download it. It should have a source code or a debian-based packages. If you are still new to Ubuntu Systems Administration, please choose the ā€œdebian packagesā€, using the ā€œSynaptic Package Managerā€, its easier to install and will find the required dependencies, for you.

Atif Imam

MATLAB R2014b on Ubuntu 14.04

From ISO

  • First, mount the .iso file of the image with right-click, Open with and select Disk image mounter (if required).
  • Open a terminal and change to the mounted image file. For example:
    • cd /media/username/MATHWORKS_R2014A

From Download

Install

  • Run the installer as a super user
    • sudo ./install
  • Follow the instructions of the installer and install in /usr/local/MATLAB/R2014a
  • To add an entry to the launcher and some other features, install the matlab-support package:
    • sudo apt-get install matlab-support
  • During the installation you have to confirm the installation path of matlab and could restrict the installation only to certain users (which I did not require). In addition you could rename the GCC libraries, but I had no problems so far so I didn't deactivate those.
  • After completion, you have to change the ownership of the .matlab folder in the home folder to your own user account if you do not want to run Matlab as a super user.
    • cd ~ sudo chown username -R ~/.matlab

Now Matlab should also be launchable through unity and should work as intended.

source :https://help.ubuntu.com/communit...

MATLABĀ® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.

MATLAB R2014b on Ubuntu 14.04

From ISO

  • First, mount the .iso file of the image with right-click, Open with and select Disk image mounter (if required).
  • Open a terminal and change to the mounted image file. For example:
  • cd /media/username/MATHWORKS_R2014A

From Download

Install

  • Run the installer as a super user sudo ./install
  • Follow the instructions of the installer and install in /usr/local/MATLAB/R2014a
  • To add an entry to the launcher and some other features, install the matlab-support package: sudo apt-get install matlab-support
  • During the installation you have to confirm the installation path of matlab and could restrict the installation only to certain users (which I did not require). In addition you could rename the GCC libraries, but I had no problems so far so I didn't deactivate those.
  • After completion, you have to change the ownership of the .matlab folder in the home folder to your own user account if you do not want to run Matlab as a super user. sudo chown username -R ~/.matlab

Now Matlab should also be launchable through unity and should work as intended.

Read More: Source: MATLAB - Community Help Wiki

I would recommend you to go throgh the wiki page as it has basic troubleshooting steps too if you encounter any error.

Answer requested by Simhadri Mahesh Gupta

View More Answers