why always said: An error occurred while drawing the scene? need help!
Show older comments
matlab error: An error occurred while drawing the scene
7 Comments
Walter Roberson
on 4 Feb 2016
We need to know more about what you were doing, and which MATLAB version, and which operating system.
Mike Garrity
on 4 Feb 2016
That message generally means that something happened on the thread that's driving the graphics card. It should be followed by some additional details about what exactly happened. For example, the graphics card may have run out of memory.
The first thing I would do is this:
opengl info
This will tell you what type of graphics card you have, and what version of the driver you have installed.
Another option is this:
opengl software
That will tell MATLAB to stop trying to use the graphics card, and use a software version of the OpenGL library.
Xiaoyang Pan
on 11 Feb 2016
James Tuttle
on 8 May 2020
Edited: James Tuttle
on 8 May 2020
I tried that and got this message back in the command:
>> opengl software
Error using opengl
Switching to software OpenGL rendering is not supported on the Mac platform.
What else can I do?
Kristoffer Walker
on 14 Sep 2020
I am having this issue now in 9.8.0.1323502 (R2020a) in an app built with App Designer. It happens randomly as I use the app. When it happens, I have to restart Matlab. Quite frustrating and new for me.
Warning: An error occurred while drawing the scene: Could not find node in peer tree
Warning: An error occurred while drawing the scene: Could not find node in peer tree
Warning: An error occurred while drawing the scene: Could not find node in peer tree
Warning: An error occurred while drawing the scene: Could not find node in peer tree
Warning: An error occurred while drawing the scene: Could not find node in peer tree
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
Hui Lu
on 11 May 2021
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!