PDA

View Full Version : [SOLVED] Can't load Matlab from Start Menu



buster2209
June 26th, 2010, 03:23 PM
I have installed Matlab into /opt/matlab and the file to run the program is located in /opt/matlab/bin and is called matlab.

I created a file;


#! /bin/bash

/opt/matlab/bin/matlab

and placed it in /usr/bin.

From there, I can run matlab by typing 'matlab' in a Terminal window.

My problem is that I created a link in my start menu with the command 'matlab' but all I get is the splash screen for 5-10 secs then the program crashes out. However, when I run it from a Terminal, it loads up just fine.

Any ideas as to why?

buster2209
July 1st, 2010, 02:17 AM
Figured it out;


#! /bin/bash

/opt/matlab/bin/matlab -desktop

cecilx22
May 16th, 2011, 07:16 PM
Thank you for this! Would have taken me hours to figure it out.