If I Open Matlab or want to plot something I get error 126

1 view (last 30 days)

Answers (1)

Andreas Goser
Andreas Goser on 11 Feb 2016
I have seen this, but not at startup. This issue could be related to the OpenGL renderer in MATLAB. It is recommended to update the graphics card drivers.
You can also try to set the default renderer to "painters". Copy the below line to your "startup.m" file.
set(0,'DefaultFigureRenderer','Painters')
For more information on the "startup.m" file, refer the dcoumentation page for "startup.m" file below.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!