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 个)

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 Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by