Prev: Plotting
Next: Stepper motor
From: iliz110 on
Hi,

I recently installed MATLAB2010 on Ubuntu 9.04. It works great and all, except that for one reason or another the symbolic links never got set up... So now I have to go into the command line, hunt under /name/R2010a/bin and then enter ./matlab in order to start it up.

It's a real pain-- ideally I would want to be able to type in
matlab
in the command prompt and have it start up! (as it's supposed to..)

Can anyone help me with setting up the symbolic links after installation? I don't want to go through a reinstall since it takes so long on this laptop...

Thanks!
From: iliz110 on
I also forgot to mention-- I tried double-clicking on the 'matlab' executable from my desktop (in lieu of using the command prompt for linux) and that doesn't work either. Being able to have MATLAB as an executable on my desktop would also be grand..
From: Walter Roberson on
iliz110 wrote:
> I also forgot to mention-- I tried double-clicking on the 'matlab' executable from my desktop (in lieu of using the command prompt for linux) and that doesn't work either. Being able to have MATLAB as an executable on my desktop would also be grand..

The Matlab binary needs a fair number of environment variables to be set
up before execution, so probably the closest you are going to be able to
get is to have a shell script marked as executable and double-click on that.
From: Steven_Lord on


"Walter Roberson" <roberson(a)hushmail.com> wrote in message
news:Fgg6o.63516$0A5.27986(a)newsfe22.iad...
> iliz110 wrote:
>> I also forgot to mention-- I tried double-clicking on the 'matlab'
>> executable from my desktop (in lieu of using the command prompt for
>> linux) and that doesn't work either. Being able to have MATLAB as an
>> executable on my desktop would also be grand..
>
> The Matlab binary needs a fair number of environment variables to be set
> up before execution, so probably the closest you are going to be able to
> get is to have a shell script marked as executable and double-click on
> that.

The OP _may_ be able to run the installer (with the appropriate permissions)
and choose to install no products simply to get to the screen that offers
the option to create the symbolic links.

Alternately, if they want to create the symbolic links manually (again
assuming they have the right permissions to put the symlinks somewhere
accessible) they can use the system command ln:

http://en.wikipedia.org/wiki/Symbolic_link

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

 | 
Pages: 1
Prev: Plotting
Next: Stepper motor