Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
./matlab

However I want to create a launcher that runs. I've followed the steps as explained in the guide here, https://help.ubuntu.com/community/MATLAB, 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
add comment

3 Answers 3

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

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2011a
Comment=Start MATLAB - The Language of Technical Computing
Exec=matlab -desktop
Categories=Development;

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

share|improve this answer
add comment

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
add comment

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: http://askubuntu.com/a/140078/16835)

share|improve this answer
add comment

Your Answer

 
discard

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.