Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Matlab R2011a on ubuntu12.04. I've installed it in a folder I've created in the Home Folder. I can run it if I run the code
cd directory

However I want to create a launcher that runs. I've followed the steps as explained in the guide here,, even tho it's for ubuntu 10.04, and the launcher appeared. However when I press it nothing happens. I'm not sure what I should do next...

Any help would be appreciated.

share|improve this question

matlab.desktop file you downloaded and put in /usr/share/applications/ says:

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=MATLAB R2011a
Comment=Start MATLAB - The Language of Technical Computing
Exec=matlab -desktop

I think you should change the Exec line with your installation folder.

share|improve this answer

I've just installed Matlab 2012b on Ubuntu 12.10 and followed up by installing the matlab-support package in the Ubuntu Software Centre:

sudo apt-get install matlab-support

(As per this answer in a related question:

share|improve this answer

You could put a symlink to the matlab binary in your ~/bin directory. Create the dir if you haven't already. /home/you/bin should be in your path ($ echo $PATH).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.