Azzera filtri
Azzera filtri

Matlab crashes at startup on linux

13 visualizzazioni (ultimi 30 giorni)
MN
MN il 23 Ott 2015
Hello,
I just managed to install on a remote linux machine a Matlab (ssh connection). The installation used the silent mode through the terminal :
./install -mode silent -inputFile <matlab_setup_folder>/installer_input.txt
It displayed in the end :
Installing Product: MATLAB 8.6
Notes:
Exiting with status 0
Silent activation succeeded.
End - Successful.
Finished
Yet when I started matlab from the terminal:
./matlab -nojvm -nodisplay -nosplash
It only displays this and crashes completely (I lost completely control over the terminal window. ctc+c would do nothing. The only way to do something is to close the terminal window)
< M A T L A B (R) >
Copyright 1984-2015 The MathWorks, Inc.
R2015b (8.6.0.267246) 64-bit (glnxa64)
August 20, 2015
Would you have an idea why this crash happens?
Thanks
  1 Commento
MN
MN il 24 Ott 2015
I solved this problem. It turned out I did not have java installed. Once java installed this solved the crash.

Accedi per commentare.

Risposte (1)

Silvia Talavera Marcos
Silvia Talavera Marcos il 29 Ago 2023
So, this was not your case as the solution was a different one, but I want to comment because I had a similar problem and the solution is nowhere to be found.
My problem was that the installer kept crushing. After several tries, checking java and permissions and the network and all that, I noticed it would crash either (1) when moving towards the login window (I have an academic license) or (2) when clicking on anywhere on the installer.
It didn't help that sometimes a "-21 error" would pop up, making things even more confusing.
It turned out the problem was the custom cursor I was using. I changed it to a more generic one and I was able to finally finish the installation.
Also, when I tried to set the cursor back to the custom one, MATLAB crashed right after starting. So, using a custom cursor can cause your MATLAB to crash on start.
I hope this information helps someone. I installed MATLAB 2023a (update 5), by the way.

Community Treasure Hunt

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

Start Hunting!

Translated by