{"action":"created","issue":{"url":"https://api.github.com/repos/robotology-playground/idyntree/issues/44","labels_url":"https://api.github.com/repos/robotology-playground/idyntree/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/robotology-playground/idyntree/issues/44/comments","events_url":"https://api.github.com/repos/robotology-playground/idyntree/issues/44/events","html_url":"https://github.com/robotology-playground/idyntree/issues/44","id":86765988,"number":44,"title":"MATLAB bindings: Matlab crash on semantic error","user":{"login":"Ommac","id":6359405,"avatar_url":"https://avatars.githubusercontent.com/u/6359405?v=3","gravatar_id":"","url":"https://api.github.com/users/Ommac","html_url":"https://github.com/Ommac","followers_url":"https://api.github.com/users/Ommac/followers","following_url":"https://api.github.com/users/Ommac/following{/other_user}","gists_url":"https://api.github.com/users/Ommac/gists{/gist_id}","starred_url":"https://api.github.com/users/Ommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ommac/subscriptions","organizations_url":"https://api.github.com/users/Ommac/orgs","repos_url":"https://api.github.com/users/Ommac/repos","events_url":"https://api.github.com/users/Ommac/events{/privacy}","received_events_url":"https://api.github.com/users/Ommac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotology-playground/idyntree/labels/Bindings:%20Matlab","name":"Bindings: Matlab","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-09T23:17:36Z","updated_at":"2015-06-16T13:36:52Z","closed_at":null,"body":"@traversaro @DiegoRomeres\r\n\r\nI have followed the simple steps outlined in https://github.com/robotology-playground/idyntree#bindings to generate the iDynTree MATLAB bindings.\r\n\r\nThen, I have started MATLAB r2014b (UNIX version), and added iDynTree/bindings/matlab/* to the MATLAB path.\r\n\r\nLater on, I have tried the two example scripts proposed in https://github.com/robotology-playground/idyntree/blob/master/doc/geometric_classes.md\r\n\r\nThe outputs were:\r\n\r\n1)\r\n```\r\nUndefined function 'iDynTreeMATLAB_wrap' for input arguments of type 'double'.\r\n\r\nError in iDynTree.Position (line 9)\r\n        tmp = iDynTreeMATLAB_wrap(80,'new_Position',varargin{:}); % FIXME\r\n\r\nError in test1 (line 4)\r\norigin_A_B = iDynTree.Position(1,2,3)\r\n ```\r\n\r\n2)\r\n```\r\nUndefined function 'iDynTreeMATLAB_wrap' for input arguments of type 'double'.\r\n\r\nError in iDynTree.Position (line 9)\r\n        tmp = iDynTreeMATLAB_wrap(80,'new_Position',varargin{:}); % FIXME\r\n\r\nError in test2 (line 9)\r\norigin_A_B = iDynTree.Position(1,2,3)\r\n```\r\n\r\nLong things short: class *iDynTreeMATLAB_wrap* does not seem to be defined.\r\n\r\n**Note**: In folder iDynTree/bindings/matlab there is a file called *iDynTreeMATLAB_wrap.cxx*. I do not know what is it for, but I would expect to also have a MATLAB version of it, which I don't.\r\n\r\nMaybe some options for generating the bindings are wrong?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/robotology-playground/idyntree/issues/comments/112432575","html_url":"https://github.com/robotology-playground/idyntree/issues/44#issuecomment-112432575","issue_url":"https://api.github.com/repos/robotology-playground/idyntree/issues/44","id":112432575,"user":{"login":"traversaro","id":1857049,"avatar_url":"https://avatars.githubusercontent.com/u/1857049?v=3","gravatar_id":"","url":"https://api.github.com/users/traversaro","html_url":"https://github.com/traversaro","followers_url":"https://api.github.com/users/traversaro/followers","following_url":"https://api.github.com/users/traversaro/following{/other_user}","gists_url":"https://api.github.com/users/traversaro/gists{/gist_id}","starred_url":"https://api.github.com/users/traversaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traversaro/subscriptions","organizations_url":"https://api.github.com/users/traversaro/orgs","repos_url":"https://api.github.com/users/traversaro/repos","events_url":"https://api.github.com/users/traversaro/events{/privacy}","received_events_url":"https://api.github.com/users/traversaro/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T13:36:52Z","updated_at":"2015-06-16T13:36:52Z","body":"@nunoguedelha is working on an improved version of the semantics checking, we will push it  soon and it will solve the problem of Matlab crashing on semantic error. "}}