Installation on Ubuntu 22.04 LTS finished but there is no Matlab
70 ビュー (過去 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
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
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!