{"id":424,"date":"2020-06-01T14:10:44","date_gmt":"2020-06-01T18:10:44","guid":{"rendered":"https:\/\/psycomp.utsc.utoronto.ca\/support\/?p=424"},"modified":"2020-07-26T16:29:46","modified_gmt":"2020-07-26T20:29:46","slug":"matlab-opengl-warning","status":"publish","type":"post","link":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2020\/06\/01\/matlab-opengl-warning\/","title":{"rendered":"MATLAB OpenGL Warning"},"content":{"rendered":"<p>When you start a GUI Matlab session on the cluster, you may see the following warning:<br\/><br\/> <strong>Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL.<\/strong><br\/><br\/>This can also cause errors when you use some Matlab programs \/ toolboxes, for example <a href=\"https:\/\/www.nitrc.org\/projects\/conn\/\" target=\"_blank\" rel=\"noopener noreferrer\"> &#8220;CONN: functional connectivity toolbox&#8221; <\/a>. The following is a workaround for getting rid of the warning:<\/p>\r\n1) Start a GUI Slurm session and run &#8220;matlab&#8221; <br\/>\r\n2) Run the following Matlab script<br\/>\r\n<pre>\r\nopengl('save','hardware');\r\n<\/pre>\r\n3) Restart Matlab\r\n","protected":false},"excerpt":{"rendered":"<p>When you start a GUI Matlab session on the cluster, you may see the following warning: Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL.This can also cause errors when you use some Matlab programs &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2020\/06\/01\/matlab-opengl-warning\/\"> <span class=\"screen-reader-text\">MATLAB OpenGL Warning<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[3,7,6,10],"tags":[],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-clusterinfo","category-linuxshell","category-matlab","category-slurm"],"_links":{"self":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/comments?post=424"}],"version-history":[{"count":1,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/424\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/tags?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}