why always said: An error occurred while drawing the scene? need help!

87 views (last 30 days)
matlab error: An error occurred while drawing the scene
  7 Comments
Daniel Ko
Daniel Ko on 3 Dec 2020
I can second Kristoffer here, also getting:
Warning: An error occurred while drawing the scene: Error in json_scenetree: Could not find node in replaceChild

Sign in to comment.

Accepted Answer

Subin Kuttappan Stellal Mary
The issue might be due to using hardware OpenGL. This occurs since Intel HD 2000 hardware and any of its drivers are not supported with MATLAB 8.4(R2014b) or later.
The issue does not occur in MATLAB R2014a or other previous releases because those makes use of the previous graphics engine HG1 which supported the Intel HD 2000 hardware. However, from MATLAB 8.4(R2014b), a new graphics engine HG2 was unveiled and this does not support Intel HD 2000 hardware for any of its drivers.
As Mike suggested, you can try :
opengl software
  3 Comments
Alan
Alan on 13 Jul 2025
I am using Matlab 2025a. I added "opengl software" as suggested, but the error does not go away.
Lillian
Lillian on 9 Jan 2026
Edited: Lillian on 9 Jan 2026
I have the same issue with Matlab 2025a as well. I am running Matlab from nmrbox and when I tried opengl software I get the warning: Setting the renderer will not be supported in a future release. I still get the error. Anyone also facing issue with the performance? Matlab runs very slow for me especially when I plot a figure. I have a lot of samples I am analyzing (over 200 spectral data) so maybe that causes it to run slower but then I did not have that issue with the previous release (was using Matlab 2024b) or even with this new release when running few samples. Does anyone have any suggestions on how to fix this issue? Thank you.

Sign in to comment.

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!