{"action":"closed","issue":{"url":"https://api.github.com/repos/kdahlquist/GRNmap/issues/38","labels_url":"https://api.github.com/repos/kdahlquist/GRNmap/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/kdahlquist/GRNmap/issues/38/comments","events_url":"https://api.github.com/repos/kdahlquist/GRNmap/issues/38/events","html_url":"https://github.com/kdahlquist/GRNmap/issues/38","id":56624171,"number":38,"title":"Issues with MATLAB 2014b","user":{"login":"juansc","id":6529816,"avatar_url":"https://avatars.githubusercontent.com/u/6529816?v=3","gravatar_id":"","url":"https://api.github.com/users/juansc","html_url":"https://github.com/juansc","followers_url":"https://api.github.com/users/juansc/followers","following_url":"https://api.github.com/users/juansc/following{/other_user}","gists_url":"https://api.github.com/users/juansc/gists{/gist_id}","starred_url":"https://api.github.com/users/juansc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juansc/subscriptions","organizations_url":"https://api.github.com/users/juansc/orgs","repos_url":"https://api.github.com/users/juansc/repos","events_url":"https://api.github.com/users/juansc/events{/privacy}","received_events_url":"https://api.github.com/users/juansc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kdahlquist/GRNmap/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/kdahlquist/GRNmap/labels/documentation","name":"documentation","color":"eb6420"},{"url":"https://api.github.com/repos/kdahlquist/GRNmap/labels/functionality","name":"functionality","color":"0052cc"},{"url":"https://api.github.com/repos/kdahlquist/GRNmap/labels/testing","name":"testing","color":"888888"}],"state":"closed","locked":false,"assignee":{"login":"juansc","id":6529816,"avatar_url":"https://avatars.githubusercontent.com/u/6529816?v=3","gravatar_id":"","url":"https://api.github.com/users/juansc","html_url":"https://github.com/juansc","followers_url":"https://api.github.com/users/juansc/followers","following_url":"https://api.github.com/users/juansc/following{/other_user}","gists_url":"https://api.github.com/users/juansc/gists{/gist_id}","starred_url":"https://api.github.com/users/juansc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juansc/subscriptions","organizations_url":"https://api.github.com/users/juansc/orgs","repos_url":"https://api.github.com/users/juansc/repos","events_url":"https://api.github.com/users/juansc/events{/privacy}","received_events_url":"https://api.github.com/users/juansc/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-05T03:49:54Z","updated_at":"2015-02-08T01:07:50Z","closed_at":"2015-02-08T01:07:50Z","body":"Recently I ran the simulation on the new 2014b MATLAB. I found that the following code caused an error:\r\n```\r\nfigHandles = findobj('Type','figure')\r\nnfig = max(figHandles)\r\n```\r\n\r\nApparently the new MATLAB handles graphics differently and now stores the figure handles in an object of type [GraphicsPlaceholder](http://www.mathworks.com/help/matlab/ref/matlab.graphics.graphicsplaceholder-class.html). \r\n\r\nThe place holder object is actually a 2 dimensional array, and we can use `size(figHandles,1)` to find the number of figures. \r\n\r\nThe program keeps crashing in the computers in the graphs.m script, and I think it has to do with the new graphics system in MATLAB 2014b.  \r\n"}}