Unable to install MATLAB2021b on a linux platform server.

Hi all,
I want to install Matlab 2021b on a institute server but I am getting following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 1
Aborted (core dumped)
How to solve this problem?
Thanks in advance.
~Md. Kamran

11 件のコメント

Yongjian Feng
Yongjian Feng 2021 年 10 月 28 日
What kind of Linux platform? From a terminal, type
cat /etc/os-release
Kamran Afroz
Kamran Afroz 2021 年 10 月 29 日
The details of my working platform:
NAME="SLES"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp2"
Yongjian Feng
Yongjian Feng 2021 年 10 月 29 日
Does this Linux have a desktop installation? It seems like the installer has trouble to show a Window.
Kamran Afroz
Kamran Afroz 2021 年 10 月 29 日
It's a server (HPC) which could be accessed remotely.
Yongjian Feng
Yongjian Feng 2021 年 10 月 29 日
Try the silent mode installation to avoid this error.
Kamran Afroz
Kamran Afroz 2021 年 10 月 29 日
Can you explain what is silent mode?
Yongjian Feng
Yongjian Feng 2021 年 10 月 29 日
Silent mode means you put all the necessary information in a file, so the installer doesn't need to popup any Window for input. This is a guide for Windows.
You might need to do similar thing on Linux.
Kamran Afroz
Kamran Afroz 2021 年 10 月 30 日
編集済み: Kamran Afroz 2021 年 10 月 30 日
I have tried installing with silent mode and it worked but when open matlab my screen is flooded with following error:
Yongjian Feng
Yongjian Feng 2021 年 10 月 30 日
Try run matlab without desktop from terminal: matlab -nodesktop
This will tell if matlab is fine other than the GUI.
Are you sure you have GUI desktop installed on that Linux platform? These message are still about failure to start up a Window.
Kamran Afroz
Kamran Afroz 2021 年 10 月 31 日
Running matlab using matlab -nodesktop is working.
As I told earlier I am using a remotely accessed server on which lot of other software run which need GUI and the work fine but in case of matlab, Matlab open and along with that the previously uploaded error also shows and when I close error window then Matlab also closes.
Yongjian Feng
Yongjian Feng 2021 年 11 月 1 日
Maybe that particular desktop version is not supported?
Try to contact matlab support.

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

回答 (1 件)

Naga
Naga 2024 年 12 月 29 日
編集済み: Naga 2024 年 12 月 29 日

0 投票

To resolve the MATLAB installation error on Linux, install all required libraries using the 'yum' command as documented by MathWorks. If issues persist, run the MATLABWindow script for detailed error messages and install any additional missing libraries. Refer to the following MATLAB answer for more information:

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2021b

タグ

質問済み:

2021 年 10 月 28 日

編集済み:

2024 年 12 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by