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?

Answers (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.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Asked:

on 10 Jun 2021

Answered:

on 20 Nov 2024

Community Treasure Hunt

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

Start Hunting!