MATLAB previously crashed due to a low-level graphics error while using software OpenGL
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!