필터 지우기
필터 지우기

Installation on Ubuntu 22.04 LTS finished but there is no Matlab

조회 수: 73 (최근 30일)
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
Jan
Jan 2022년 10월 27일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2022년 10월 27일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by