Resolving Low-Level Graphics Issues

news/2024/11/29 2:31:40/

Resolving Low-Level Graphics Issues

在远程操作其他工作站上的matlab的时候,无法显示仿真结果,但是在真实的工作站上操作的话又可以看到simulation的结果,并且远程的时候进行仿真,就会显示以下的错误提示:

 >>MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.

查阅相应资料之后matlab普遍存在这个问题,解决办法见官网。

网上大神方法见这里。

自己实践操作,主要就两步:

1.To set your preferences so that MATLAB always starts with software OpenGL on this computer, execute this command at the MATLAB command line:

opengl('save','software')

2.Upgrade your graphics drivers to the latest versions available

这里直接就打开你的GPU然后在管理软件里点击更新就可以。

以下为引用原答者的回答:

You can work around many graphics issues by using the software version of OpenGL® built-into MATLAB instead of using your graphics hardware. In some cases, MATLAB automatically switches to software OpenGL, for example, if it detects known issues such as outdated drivers or graphics virtualization. Software OpenGL does not support some graphics features, such as graphics smoothing.
To determine if you are using hardware or software OpenGL, type 'opengl info'. The returned information contains the line Software: 'false' if you are using hardware OpenGL or Software: 'true' if you are using software OpenGL.
To switch from hardware to software OpenGL, start MATLAB from the command prompt or terminal on your system using this command:
`matlab -softwareopengl`
To set your preferences so that MATLAB always starts with software OpenGL on this computer, execute this command at the MATLAB command line:
`opengl('save','software')`
These commands work only on Windows® and Linux® systems. Macintosh systems do not support software OpenGL. For more information about switching between hardware and software OpenGL, see the documentation for <http://www.mathworks.com/help/matlab/ref/opengl.html opengl> and the Renderer property for figures.
For the best results with graphics, use graphics hardware that is compliant with OpenGL 2.1 or later. For more information about the graphics features that different versions of OpenGL support, see System Requirements for Graphics.
Graphics hardware vendors frequently provide updated graphics drivers that improve hardware performance. To help ensure that your graphics hardware works with MATLAB, upgrade your graphics drivers to the latest versions available.
Check your computer manufacturer website for driver updates, for example, Dell® or HP®. If no updates are provided, then check your graphics hardware vendor website, such as one of the vendors listed here. To determine your vendor, type opengl info and check the Vendor field.
- AMD
- NVIDIA
- Intel
Alternatively, you may be able to check your driver vendor and versions outside of MATLAB. On Windows systems, enter dxdiag into the Command Prompt, and look at the "Display" tab. Certain Linux distributions will allow you to use glxinfo in the Terminal to see OpenGL and driver information.
If you saved a setting to always start MATLAB with software OpenGL, then after updating your drivers, you can revert that setting by executing:
`opengl('save','hardware')`
Then restart MATLAB.
If you cannot resolve the issues using the options described here, then you might have encountered a bug in MATLAB. Please contact MathWorks Technical Support and provide the following information:
- Output of executing opengl info
- Whether your code runs without error when using software OpenGL.
- Whether your code runs without error on a different computer. Please provide the output of opengl info for all computers you have tested your code on.
- Some error messages contain a link to a file with details about the graphics error you encountered. If a link to this file is provided, please include this file with your service request.
- The full text of the error that appears. If a crash occurs, please provide the crash report generated by MATLAB.

http://www.ppmy.cn/news/1353648.html

相关文章

【前端工程化面试题目】webpack 的热更新原理

可以在顺便学习一下 vite 的热更新原理&#xff0c;请参考这篇文章。 首先有几个知识点需要明确 热更新是针对开发过程中的开发服务器的&#xff0c;也就是 webpack-dev-serverwebpack 的热更新不需要额外的插件&#xff0c;但是需要在配置文件中 devServer属性中配置&#x…

PMP考试之20240217

1、在过去的几年里&#xff0c;一个组织通过接管同一领域的多家公司&#xff0c;发展成为一个企业集团。这显著增加了其项目、计划和投资组合的数量。一个组织应该同时管理多少活跃的投资组合&#xff1f; A. 一次只管理一个组合 B.基于分配给组合管理的人力资源的规模 C.每…

紫微斗数全书卷一斗数太微赋

文章目录 前言太微赋形性赋星垣论斗数准绳斗数发微论重补斗数彀率增补太微赋总结 前言 紫微斗数全书卷一 太微赋 斗数至玄至微&#xff0c;理旨难明&#xff0c;虽设问于各篇之中&#xff0c;犹有言而未尽&#xff0c;至如星之分野&#xff0c;各有所属&#xff0c;寿夭贤愚&…

Python第十七章(继承)

继承&#xff1a;子类继承父类的所有方法和属性 一。单继承&#xff1a;一个子类继承一个父类 注释&#xff1a;B是子类&#xff0c;继承了A的函数方法&#xff0c;当调用B时候&#xff0c;会同时使用A中的全部方法&#xff0c;object类是顶级类或者基类&#xff0c;其他子类叫…

3 处理机调度和死锁(下)

死锁 引起死锁&#xff1a;需要采用互斥访问的 不可以被抢占的资源&#xff08;临界资源&#xff09; 系统资源分类&#xff1a; 可重用性资源 可消耗性资源可抢占性资源 不可抢占性资源 计算机系统中的死锁 竞争不可抢占性资源引起死锁竞争可消耗资源引起死锁进程推进顺序不…

Pandas数据库大揭秘:read_sql、to_sql 参数详解与实战篇【第81篇—Pandas数据库】

Pandas数据库大揭秘&#xff1a;read_sql、to_sql 参数详解与实战篇 Pandas是Python中一流的数据处理库&#xff0c;而数据库则是数据存储和管理的核心。将两者结合使用&#xff0c;可以方便地实现数据的导入、导出和分析。本文将深入探讨Pandas中用于与数据库交互的两个关键方…

代码随想录算法训练营第二十八天|122.买卖股票的最佳时机II,55. 跳跃游戏,45.跳跃游戏II

系列文章目录 代码随想录算法训练营第一天|数组理论基础&#xff0c;704. 二分查找&#xff0c;27. 移除元素 代码随想录算法训练营第二天|977.有序数组的平方 &#xff0c;209.长度最小的子数组 &#xff0c;59.螺旋矩阵II 代码随想录算法训练营第三天|链表理论基础&#xff…

太以假乱真了,大家小心

每周跟踪AI热点新闻动向和震撼发展 想要探索生成式人工智能的前沿进展吗&#xff1f;订阅我们的简报&#xff0c;深入解析最新的技术突破、实际应用案例和未来的趋势。与全球数同行一同&#xff0c;从行业内部的深度分析和实用指南中受益。不要错过这个机会&#xff0c;成为AI领…