Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How do I make a desktop launcher for MATLAB in Linux?

Asked by Ian Jessen on 6 Jan 2011

I don’t want to have to open a terminal window every time I want to launch MATLAB on Linux. I tried to make a Gnome launcher, but it does not seem to work. The command I gave was:

 /usr/local/bin/matlab &

I see the process running, but now windows appear. What am I doing wrong?


Ian Jessen


2 Answers

Answer by John on 11 Jan 2011
Accepted answer

To have MATLAB open up from a launcher, you need to add the –desktop flag to the command field. For example:

/usr/local/matlab/bin/matlab –desktop

If that does not work, try changing the launcher type from "Application" to "Application in terminal". If there is a MATLAB startup error, it won’t be displayed unless MATLAB is started with terminal.


Answer by Martin on 22 Nov 2012

I am trying to do the same, basically going in to the terminal each time is very inconvenient. Is there a way I can make a button to click rather than terminal?

1 Comment

Martin on 4 Mar 2013

got this sorted now. thanks


Contact us