Installation on Ubuntu 22.04 LTS finished but there is no Matlab

143 views (last 30 days)
I am trying to install MATLAB on Ubuntu 22.04 LTS.
I downloaded the current .zip from MathWorks which is called matlab_R2022b_glnxa64.zip . Then, I followed the steps from the following link: https://linuxconfig.org/how-to-install-matlab-on-ubuntu-22-04-jammy-jellyfish-linux The installer seemed to work, went from 0 to 100% and then closed itself. However, MATLAB does not show up in my activities. There is also no matlab.desktop file to be found, so I cannot complete step 14 or 15.
Edit: Through the comments I figured out that MATLAB is installed and I can start it with /usr/local/MATLAB/R2022b/bin$ ./matlab
However, it is still not findable:
~$ whereis /.matlab
.matlab:
How can I get it to show up in my Activities?
  1 Comment
Jan
Jan on 27 Oct 2022
Now step into the /usr/local/MATLAB/R2022b/bin folder and start Matlab. You can create the desktop link manually also.
Did you install as root? Then I assume the link was created on the corresponding desktop, not on yours.

Sign in to comment.

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 27 Oct 2022
To me this sounds like you forgot to create a link to the executable from a directory on your path. Here's how I check where I have my stuff from a terminal:
bjorn@machine:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
bjorn@machine:~$ whereis matlab
matlab: /usr/local/bin/matlab
bjorn@machine:~$ ls -l /usr/local/bin/matlab
lrwxrwxrwx 1 root root 8 juni 1 2021 /usr/local/bin/matlab -> matlab20
bjorn@machine:~$ ls -l /usr/local/bin/matlab20
lrwxrwxrwx 1 root root 35 juni 1 2021 /usr/local/bin/matlab20 -> /usr/local/MATLAB/R2020a/bin/matlab
You can without problem create a link from /usr/local/bin to the directory where you have the binaries of the matlab-installation, as long as you at least have sudo-priviledges on the computer. Just ln -s should be enough.
HTH

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by