MATLAB previously crashed due to a low-level graphics error while using software OpenGL
Show older comments
Hi,
I have Matlab2020b. When I start Matlab I get warning:
Warning: MATLAB previously crashed due to a low-level graphics error while using software OpenGL. For more information, see Resolving Low-Level Graphics
Issues.
> In matlab.graphics.internal.initialize (line 15)
Has anyone an idea how to fix it?
This is initialize.m file:
function initialize(isOutputSuppressed)
% This is an undocumented function and may be removed in a future release.
% Copyright 2018 The MathWorks, Inc.
narginchk(1,1);
persistent isInitialized
persistent suppressedOutput
if isInitialized
% This could have been previously called with suppressed output.
% We want to display that output now if it is no longer suppressed.
dispOutputIfNotSuppressed
else
try
suppressedOutput = evalc('builtin(''groot'');');
dispOutputIfNotSuppressed
isInitialized = true;
catch e
if ~isOutputSuppressed
rethrow(e)
end
end
end
function dispOutputIfNotSuppressed
if ~isOutputSuppressed && ~isempty(suppressedOutput)
disp(suppressedOutput)
suppressedOutput = '';
end
end
end
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!