Matlab R2019b freezes during startup on Ubuntu 18.04.3 LTS

8 views (last 30 days)
Hi all,
I recently downloaded and installed my student version of Matlab R2019b on my notebook (ASUS Vivobook, Ryzen 5, 16 Gb ram).
I'm actually running it on Ubuntu 18.04.3 LTS.
Unfortunately my computer freezes when I try to start Matlab and I'm not able to perform any other action exept for the hard reboot (I can't kill any process and even my mouse is not working anymore!).
I searched quite a lot around but I can't figure out how to make this work properly, can anyone help me out?
Thanks in advance.
  3 Comments
Rafael Marentes Ortiz
Rafael Marentes Ortiz on 10 Jan 2021
Same issue on an ASUS X505Z with Ubuntu 20.04 (and 18.04) Ryzen 5 2500u.
I have heard of issues with ryzen CPU's but updating the BIOS and kernel parameters have not solved the issue.

Sign in to comment.

Answers (1)

Piyush Kumar
Piyush Kumar on 10 Apr 2025
You can try the following troubleshooting steps -
1. Start MATLAB with Software OpenGL: Graphics drivers can sometimes cause conflicts. Launching MATLAB with the -softwareopengl flag forces it to use software rendering, which might resolve the issue:
matlab -softwareopengl
2. Update Graphics Drivers: Ensure that your system's graphics drivers are up to date, as outdated drivers can lead to compatibility issues with MATLAB.
3. Run MATLAB in No Desktop Mode: To further isolate the issue, try starting MATLAB without the GUI:
matlab -nodesktop
This can help determine if the problem is related to the graphical interface.
3. Consult MathWorks Support: If the above steps don't resolve the issue, consider reaching out to MathWorks technical support.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!