Why do I get the "LoadLibrary failed with error 126: The specified module could not be found" when using the plot command?
조회 수: 14 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 5월 10일
편집: MathWorks Support Team
2021년 11월 17일
When I try to use graphic functions such as "plot" I get a dialog box with the text:
ERROR: LoadLibrary failed with error 126: The specified module could not be found
In some occasions, MATLAB also exits unexpectedly.
This issue started after updating my Operative System.
채택된 답변
MathWorks Support Team
2021년 10월 12일
편집: MathWorks Support Team
2021년 11월 17일
This issue is caused by the OpenGL renderer.
1. The recommended option is to update the graphics card drivers.
2. It is also possible to switch to OpenGL software renderer.
>> opengl software
3. If switching to OpenGL software does not work, try changing the default renderer to "Painters".
To set the default renderer to "Painters", you can copy the below line to your "startup.m" file.
>> set(0,'DefaultFigureRenderer','Painters')
For more information on the "startup.m" file, please refer to the following page in the documentation:
For more information on renderers in MATLAB, please refer to the following page in the documentation:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!