{"id":467,"date":"2017-04-14T11:06:46","date_gmt":"2017-04-14T03:06:46","guid":{"rendered":"https:\/\/www.jarvisw.com\/?p=467"},"modified":"2018-11-27T16:15:14","modified_gmt":"2018-11-27T08:15:14","slug":"%e8%a7%a3%e5%86%b3matlab%e5%9c%a8linux%e4%b8%8b%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8hardware-opengl%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.jarvisw.com\/?p=467","title":{"rendered":"\u89e3\u51b3MATLAB\u5728linux\u4e0b\u65e0\u6cd5\u4f7f\u7528hardware openGL\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u6700\u8fd1\u7531\u4e8e\u8981\u4f7f\u7528USRP\uff0c\u4e3a\u4e86\u65b9\u4fbf\u6240\u4ee5\u5fc5\u987b\u5728ubuntu\u4e0b\u5b89\u88c5MATLAB\uff0c\u6211\u9009\u62e9\u7684\u7248\u672c\u662fR2016b\uff0c\u5b89\u88c5\u8fc7\u7a0b\u5f88\u987a\u5229\uff0c\u4e5f\u80fd\u6b63\u5e38\u8fd0\u884c\uff0c\u4f46\u662f\u5b89\u88c5\u5b8c\u4e4b\u540e\u51fa\u73b0\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u90a3\u5c31\u662f\u8fd0\u884cMATLAB\u7684\u65f6\u5019\u4f1a\u63d0\u793a\uff1a<br \/>\nMATLAB is selecting SOFTWARE OPENGL rendering.<br \/>\n\u672c\u6765\u4e5f\u6ca1\u5728\u610f\uff0c\u8f6f\u4ef6openGL\u5c31\u8f6f\u4ef6OpenGL\u5427\uff0c\u4f46\u662f\u4f7f\u7528\u4e86\u4e00\u6bb5\u65f6\u95f4\u4ee5\u540e\u53d1\u73b0\u4e86\u4e00\u4e9b\u5947\u602a\u7684\u95ee\u9898\uff0c\u6bd4\u5982command windows\u5185\u5bb9\u8fc7\u591a\u7684\u65f6\u5019\uff0c\u6574\u4e2a\u7a97\u53e3\u4f1a\u76f4\u63a5\u82b1\u5c4f\uff0c\u5fc5\u987b\u91cd\u542f\u624d\u884c\u3002\u4f30\u8ba1\u8fd9\u4e2a\u5c31\u662f\u6ca1\u6709\u4f7f\u7528\u786c\u4ef6OpenGL\u5f15\u8d77\u7684\u800c\u4e00\u4e9b\u95ee\u9898\u3002\u7f51\u4e0a\u641c\u4e86\u534a\u5929\uff0c\u6709\u4eba\u8bf4\u542f\u52a8\u65f6\u5019\u52a0nosoftwareopengl\u53c2\u6570\u6765\u542f\u52a8MATLAB:<br \/>\nmatlab -nosoftwareopengl<br \/>\n\u4f46\u662f\u542f\u52a8\u4ee5\u540e\u53d1\u73b0\u753b\u56fe\u7684\u65f6\u5019\u62a5\u9519\uff0c\u8f93\u5165opengl info\u53d1\u73b0\u4e5f\u62a5\u9519\uff0c\u540e\u6765\u627e\u5230\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff1a<br \/>\n<a href=\"http:\/\/blog.csdn.net\/jkxsanger\/article\/details\/5482572\" target=\"_blank\">http:\/\/blog.csdn.net\/jkxsanger\/article\/details\/5482572<\/a><br \/>\n\u610f\u601d\u5c31matlab\u52a0\u8f7d\u7cfb\u7edf\u5e93\u7684\u65f6\u5019\u6709\u95ee\u9898\uff0c\u6240\u4ee5\u5c31\u52a0\u8f7d\u4e86\u81ea\u5df1\u7684\u5e93\uff0c\u6240\u4ee5\u5b9e\u9645\u4e0a\u95ee\u9898\u5728\u4e8ematlab\u81ea\u5df1\u5e93\u7684\u95ee\u9898\uff0c\u4f46\u662f\u8fd9\u7bc7\u6587\u7ae0\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\uff0c\u56e0\u4e3a\u5b9e\u9645\u4e0a\u5728\u6211\u7684\u60c5\u51b5\u4e0bmatlab\u662f\u6b63\u5e38\u8bc6\u522b\u7cfb\u7edf\u5e93\u4e86\uff0c\u53ea\u4e0d\u8fc7\u52a0\u8f7d\u4e0d\u6b63\u5e38\u3002\u540e\u6765\u5728ask ubuntu\u8bba\u575b\u4e0a\u627e\u5230\u4e86\u771f\u5b9e\u7684\u539f\u56e0\uff1a<br \/>\n<a href=\"https:\/\/askubuntu.com\/questions\/638081\/matlab-r2015a-wont-start-on-14-04\" target=\"_blank\">https:\/\/askubuntu.com\/questions\/638081\/matlab-r2015a-wont-start-on-14-04<\/a><br \/>\n\u771f\u5b9e\u539f\u56e0\u5176\u5b9e\u662fmatlab\u7684libstdc++\u5e93\u548c\u7cfb\u7edf\u5e93\u4e0d\u5339\u914d\u9020\u6210\u7684\uff0c\u53ea\u8981\u8ba9matlab\u4f7f\u7528\u7cfb\u7edf\u7684\u5e93\u5c31\u6ca1\u6709\u95ee\u9898\u4e86\uff0c\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nln -sf \/usr\/lib\/x86_64-linux-gnu\/libstdc++.so.6.0.22 \/home\/wjh\/MATLAB\/sys\/os\/glnxa64\/libstdc++.so.6\r\n<\/pre>\n<p>\u8fd9\u6837\u5c31\u80fd\u6b63\u5e38\u4f7f\u7528openGL\u6e32\u67d3\u4e86\uff0c\u4f46\u662f\u6253\u5f00\u9ed8\u8ba4\u8fd8\u662fsoftware openGL\uff0c\u8fd9\u91cc\u8fd8\u8981\u8bbe\u7f6e\u4e00\u4e0b\uff1a<br \/>\n\u5728MATLAB\u91cc\u6267\u884c\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nopengl('save','hardware')\r\n<\/pre>\n<p>\u7136\u540e\u91cd\u542fmatlab,\u8fd9\u65f6\u5019\uff0c\u5c31\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u786c\u4ef6OpenGL\u4e86\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&gt;&gt; opengl info\r\n                          Version: '3.0 Mesa 17.0.2'\r\n                           Vendor: 'Intel Open Source Technology Center'\r\n                         Renderer: 'Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) '\r\n                   MaxTextureSize: 16384\r\n                           Visual: 'Visual 0xab, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double \u2026'\r\n                         Software: 'false'\r\n             HardwareSupportLevel: 'full'\r\n        SupportsGraphicsSmoothing: 1\r\n    SupportsDepthPeelTransparency: 1\r\n       SupportsAlignVertexCenters: 1\r\n                       Extensions: {236\u00d71 cell}\r\n               MaxFrameBufferSize: 16384\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u7531\u4e8e\u8981\u4f7f\u7528USRP\uff0c\u4e3a\u4e86\u65b9\u4fbf\u6240\u4ee5\u5fc5\u987b\u5728ubuntu\u4e0b\u5b89\u88c5MATLAB\uff0c\u6211\u9009\u62e9\u7684\u7248\u672c\u662fR2016b\uff0c\u5b89\u88c5\u8fc7\u7a0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[94,95],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-7","tag-matlab","tag-opengl"],"_links":{"self":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=467"}],"version-history":[{"count":6,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":762,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions\/762"}],"wp:attachment":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}