フィルターのクリア

what(): Unable to launch the MATLABWindow application during installation

480 ビュー (過去 30 日間)
Marcello Carboni
Marcello Carboni 2020 年 3 月 27 日
コメント済み: Tariq Soliman 2024 年 7 月 31 日 2:37
So, I'm running a fresh install of Manjaro Gnome and I'm trying to install matlab. I downloaded the installer, unpacked but when I try to run "bash ./install" it gives me the error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Matlab version is R2020a.
  12 件のコメント
shuaikang yan
shuaikang yan 2023 年 6 月 4 日
編集済み: shuaikang yan 2023 年 6 月 4 日
Thank you for your answer.Insufficient permissions in ’MATLABWindow’ caused this issue to occur

サインインしてコメントする。

採用された回答

shichao ni
shichao ni 2020 年 3 月 31 日
You are missing 'libselinux.so.1"
yay -S libselinux
and retry
  6 件のコメント
Nikolai Mareev
Nikolai Mareev 2020 年 7 月 30 日
Worked for Archlinux 5.7.6-arch1-1
Demyan Yarmoshik
Demyan Yarmoshik 2020 年 9 月 17 日
see https://bugzilla.redhat.com/show_bug.cgi?id=1829790#c9

サインインしてコメントする。

その他の回答 (6 件)

Atharva Naik
Atharva Naik 2022 年 9 月 29 日
編集済み: Atharva Naik 2022 年 9 月 29 日
If you are using MATLAB(>=2022a), follow these steps...
cd <matlab installer root directory>
cd /bin/glnxa64
ls | grep libfreetype
mkdir exclude
mv libfreetype.so.x.xx.x exclude/
Thank you David Scholz (github: pgrepds) for the gist.
  15 件のコメント
Sagnik Chatterjee
Sagnik Chatterjee 2023 年 9 月 9 日
Thanks
Tariq Soliman
Tariq Soliman 2024 年 7 月 31 日 2:37
Worked on Mint 21.3

サインインしてコメントする。


Brian Zelenke
Brian Zelenke 2020 年 5 月 23 日
The MATLAB 2020a installer contains its own shared library libcrypto.so.1.1, but uses the system library libk5crypto.so.3. System library libk5crypto.so.3 uses new symbols, which system library libcrypto.so.1.1 has, but MATLAB's library libcrypto.so.1.1 doesn't. So, you have to delete the MATLAB installer's copy of libcrypto.so.1.1. The sequence of commands that worked for me in RHEL 8.2 were:
cd /home/YourUserName/Downloads/matlab_R2020a_glnxa64/bin/glnxa64
rm libcrypto.so.1.1
sudo su -
cd /home/YourUserName/Downloads/matlab_R2020a_glnxa64
export DISPLAY=':0'
./install
That got the installer to work.
P.S. -- When I got to the step of entering my MathWorks account password in the resulting MATLABWindow application, the password field wouldn't let me type until I selected "Show Details" from the "MathWorks Product Installer" drop-down menu in the top menu bar and then clicked back into the main screen of the MATLABWindow application. Basically, I think I had to remove and restore focus on the MATLABWindow application main screen to get the password field working again.
P.P.S. -- Thanks to Petr at https://bugzilla.redhat.com/show_bug.cgi?id=1829790 for pointing me in the right direction on this.
  8 件のコメント
Eilert
Eilert 2021 年 3 月 16 日
This also helps for installing Matlab 2021a on Fedora 33.
After downloading the full files I renamed the crypto lib, and called the install script.
mv bin/glnxa64/libcrypto.so.1.1 bin/glnxa64/libcrypto.so.1.1_orig
Using the online loading installer was difficult, because the size of my tmp dir (with tmpfs) was too small, but that also depends on the amount of Toolboxes etc. that needs to be installed.
Manuel Schneckenreither
Manuel Schneckenreither 2022 年 4 月 4 日
see here: https://www.reddit.com/r/archlinux/comments/tkas9q/comment/i2h3r5t/?utm_source=share&utm_medium=web2x&context=3

サインインしてコメントする。


逸飞 吴
逸飞 吴 2020 年 11 月 11 日
The above answers don't work for me.
My solution is to run
bin/glnxa64/install_unix_legacy
from my home directory (or it will complain and exit), and things get to work well.
If you want to install MATLAB to somewhere outside your home directory, don't forget to add sudo.
  7 件のコメント
John Dey
John Dey 2021 年 11 月 3 日
install_unix_legacy is missing from R2021b
Ilya
Ilya 2022 年 12 月 2 日
編集済み: Ilya 2022 年 12 月 2 日
😆you soo much!!! Manjaro 22

サインインしてコメントする。


Shuai Xu
Shuai Xu 2022 年 11 月 30 日
編集済み: Shuai Xu 2022 年 12 月 3 日
Thanks to the answer1 and answer2, the following operations worked for me.[Background: install matlab on remote servers]
sudo apt install xfce4
sudo apt remove xfce4
sudo apt-get update
sudo apt-get install libnss3
  1 件のコメント
Mohamed Gharbi
Mohamed Gharbi 2023 年 11 月 19 日
編集済み: Mohamed Gharbi 2023 年 11 月 19 日
Thanks a lot to Shuai Xu
It works for me with Matlab 2023b

サインインしてコメントする。


Merera Taresa
Merera Taresa 2023 年 1 月 23 日
i install matlab 2022b. but it didn't open on linux system of chromebook. what shall i do?

Tashrif Tashrif
Tashrif Tashrif 2023 年 8 月 24 日
I got this error from MATLAB/2023 installer on CentOS 7.6 . I tried a few things people suggested up there. None worked. So I downgraded to MATLAB/2022. No more error while launching the installer.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by