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 Comments

What kind of Linux platform? From a terminal, type
cat /etc/os-release
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"
Does this Linux have a desktop installation? It seems like the installer has trouble to show a Window.
It's a server (HPC) which could be accessed remotely.
Try the silent mode installation to avoid this error.
Can you explain what is silent mode?
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.
I have tried installing with silent mode and it worked but when open matlab my screen is flooded with following error:
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.
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.
Maybe that particular desktop version is not supported?
Try to contact matlab support.

Sign in to comment.

Answers (1)

Naga
Naga on 29 Dec 2024
Edited: Naga on 29 Dec 2024
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:

Categories

Products

Release

R2021b

Asked:

on 28 Oct 2021

Edited:

on 29 Dec 2024

Community Treasure Hunt

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

Start Hunting!