Application Crashes: Failed to initialize OpenGL for Matlab

Hi,
I have used the application compiler to make a standalone application from my matlab script. The whole process runs smoothly only when I run the exec file of the application it crashes after a while with the following errors:
I played around with the settings in the compiler, and I somehow cannot get the application to run properly.
Does anyone know how I could fix this?

回答 (1 件)

Saurabh
Saurabh 2024 年 11 月 20 日

0 投票

The issue you're encountering may be due to low-level graphics problems. MATLAB can experience difficulties when rendering graphics on system, potentially leading to errors like the one described here.
To resolve them try the options described here:
  • Upgrade Graphics Hardware Drivers.
  • Choose a Renderer Implementation for Your System.
  • Fix Out-of-Memory Issues.
To get the detailed explanation on how to resolve it, refer to the following documentation:
I hope this helps.

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2021 年 6 月 10 日

回答済み:

2024 年 11 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by