MATLAB R2022b gui in linux is not opening after installation. Displaying some errors and shutdown

I installed R2022b using the installer method in Linux. Upon installing the GUI is showing a window full of error starting desktop message and shutting down. Any help in how to fix this?
also in command terminal i am seeing this message as well.
fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"

Answers (1)

Hi Mani,
This problem appears to have been addressed in the MATLAB R2024a release.
As a workaround, you might consider removing the "fontconfig" library files from your MATLAB installation. This involves deleting the following files from the matlab/bin/glnxa64 folder:
  • libfontconfig.so.1
  • libfontconfig.so.1.12.0
Hope it helps!

3 Comments

Hi,
It doesn't work for me.
This appears just after an upgrade of my Kubuntu installation :
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"
I am unable to run matlab even 2023b or 2024a
I found a solution by removing the hidden folder .matlab in my home dir !!!

Sign in to comment.

Categories

Products

Release

R2022b

Asked:

on 3 May 2024

Commented:

on 25 Mar 2025

Community Treasure Hunt

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

Start Hunting!