Fatal error starting Matlab 1. time in Ubuntu 25.04

21 ビュー (過去 30 日間)
Pål Larsson
Pål Larsson 2025 年 8 月 29 日
コメント済み: Star Strider 2025 年 8 月 31 日
Starting Matlab in CLI on an Ubuntu 25.04 with 16 Gb of RAM I get this:
MATLAB is selecting SOFTWARE OPENGL rendering.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
library initialization failed - unable to allocate file descriptor table - out of memory
MATLAB is exiting because of fatal error.
I have installed to /home/pgl/matlab as a user (not su).
What is the issue?
Best
Pål

回答 (1 件)

Star Strider
Star Strider 2025 年 8 月 29 日
From the Platform Roadmap documentation, R2023a only supports Ubuntu 22.04 LTS. The 25.04 release is not listed for any MATLAB version.
To resolve this definitively, Contact Support. It would be appropriate to iinclude the URL of this thread in your help request message.
  2 件のコメント
Pål Larsson
Pål Larsson 2025 年 8 月 31 日
Thank you for your reply
With the help of Gemini, I came around the issue. There are two parts:
More open files needed: uname -n 4096
Avoid the i965 Opengl driver.
I made a batch to include these lines, and now it works. Are the any plans to put this into the software? Are there better solutions?
Best
Pål
Star Strider
Star Strider 2025 年 8 月 31 日
My pleasure!
'Are the any plans to put this into the software? Are there better solutions?'
Ask MathWorks about that.
The opengl function has been deprecated (although it still should work in R2023a), and something called WebGL is now used in its place. Beginning with R2022a, the opengl documentation notes: The opengl function runs without warning, but the Code Analyzer indicates that opengl will be removed in a future release. I previously had problems with WebGL (Ubuntu 24.04), however Ubuntu updates corrected that.
.

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

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by