Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 5757  / 1 Year ago, thu, december 8, 2022, 10:26:54

I've installed MATLAB R2011a on Ubuntu 11.10 today following Ubuntu's guide.


I've also followed the steps to create the launcher. It appeared, but when I click on it nothing happens. Does anyone knows what can I do to fix it?


Additional info


I can run it perfectly through terminal. My only problem is getting the launcher to work.

To create the launcher I used these instructions:




  1. Get an icon:


     sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png


  2. Get the launcher file:


     sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2011a.desktop' -O /usr/share/applications/matlab.desktop




More From » launcher

 Answers
0

Try specifying the full path in the launcher you are using.



So for example if the output of which matlab is /usr/bin/matlab, then change
the Exec field to



Exec=/usr/bin/matlab -desktop


Note that if this does solve the issue for you it's likely because you have a script called matlab that is shadowing the original matlab command and so perhaps matlab is not receiving the -desktop flag which it needs to run when launched without a terminal.



See this entry for more details about getting the launcher to start properly by using -desktop.



If for some reason you still get nothing, try setting the type field to terminal application to diagnose the problem further.


[#36366] Friday, December 9, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
entmpy

Total Points: 52
Total Questions: 112
Total Answers: 113

Location: Marshall Islands
Member since Tue, Sep 21, 2021
3 Years ago
entmpy questions
;