Workaround for java error
이전 댓글 표시
I have a graphics intensive Matlab script that occasionally gives the error
Exception in thread "AWT-EventQueue-0" javax.media.nativewindow.NativeWindowException: Error windowHandle 0, werr: 0
Would love guidance on eliminating this. I found this set of workarounds, but did not get success by updating the driver, turning off off GraphicsSmoothing, or switching to opengl('save','software') or opengl('save','hardwarebasic'). In case it's relevant, I have a 64 bit machine but am using the 32-bit version of R2015b (required by some hardware).
Here is the full java error message,

채택된 답변
추가 답변 (1개)
Olivier Sauter
2019년 1월 19일
0 개 추천
I had many error messages when starting matlab and could not open the matlab editor, matlab although was working otherwise.
I tried resetting the .matlab and various preferences
At the end I simply needed to remove the felix-cache folder, which we should do regularly but keep forgetting...
댓글 수: 1
Deepu George Kurian
2021년 3월 17일
편집: Deepu George Kurian
2021년 3월 18일
I am encountering the exact same problem right now with my Matlab R2018b. Could you please elaborate on what you had to do? (I am not that good with these) @Olivier Sauter
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!