{"action":"closed","issue":{"url":"https://api.github.com/repos/justingardner/mrTools/issues/20","labels_url":"https://api.github.com/repos/justingardner/mrTools/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/justingardner/mrTools/issues/20/comments","events_url":"https://api.github.com/repos/justingardner/mrTools/issues/20/events","html_url":"https://github.com/justingardner/mrTools/issues/20","id":59127844,"number":20,"title":"(Future Compatibility Issue): Figure handles are no longer numbers as of Matlab 2014b ","user":{"login":"dbirman","id":7455770,"avatar_url":"https://avatars.githubusercontent.com/u/7455770?v=3","gravatar_id":"","url":"https://api.github.com/users/dbirman","html_url":"https://github.com/dbirman","followers_url":"https://api.github.com/users/dbirman/followers","following_url":"https://api.github.com/users/dbirman/following{/other_user}","gists_url":"https://api.github.com/users/dbirman/gists{/gist_id}","starred_url":"https://api.github.com/users/dbirman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbirman/subscriptions","organizations_url":"https://api.github.com/users/dbirman/orgs","repos_url":"https://api.github.com/users/dbirman/repos","events_url":"https://api.github.com/users/dbirman/events{/privacy}","received_events_url":"https://api.github.com/users/dbirman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-26T19:26:21Z","updated_at":"2015-03-02T00:09:47Z","closed_at":"2015-03-02T00:09:47Z","body":"A number of functions related to figure control fail, some examples here:\r\n\r\nWhen opening an individual voxel timecourse:\r\n```\r\nUndefined function 'real' for input arguments of type 'matlab.ui.Figure'.\r\n\r\nError in int2str (line 12)\r\nx = real(x);\r\n\r\nError in newGraphWin (line 18)\r\nfigloc = mrGetFigLoc(['graphFigure' int2str(h)]);\r\n```\r\n\r\nWhen closing a window:\r\n```\r\nUndefined function 'real' for input arguments of type 'matlab.ui.Figure'.\r\n\r\nError in int2str (line 12)\r\nx = real(x);\r\n\r\nError in closeGraphWin (line 19)\r\n    mrSetFigLoc(['graphFigure' int2str(h)],get(h,'Position'));\r\n```\r\n\r\nIt seems to be caused by Matlab no longer referring to figure handles as integers, instead it's necessary to call figurehandle.number."}}