Gazebo | Ignition | Community
Ask Your Question

HAPTIX API for Matlab but in Linux

asked 2017-01-27 13:13:06 -0500

Sharif gravatar image

Hello everybody. For some reasons we would like to use Matlab with Haptix in the same Linux environment. My question is whether the current API available at can be used with Matlab in Linux. If not, what impedes it? Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-01-27 14:47:02 -0500

chapulina gravatar image

If you can use the API with Octave on Linux, I can't see why you wouldn't be able with Matlab:

edit flag offensive delete link more


Please check my explanation. It couldn't be fit as a comment here.

Sharif gravatar imageSharif ( 2017-01-27 15:45:33 -0500 )edit

answered 2017-01-27 15:41:53 -0500

Sharif gravatar image

Well, the tutorial explains that the API would work whether with Octave in Linux, or with Matlab in Windows, which speculatively is because of some reasons I wonder. Moreover, I have tried using the API with Matlab in Linux, and it complains about Undefined function or variable 'hxgz'. This is because of the fact that the API deals with some MEX functions that should be compiled in the right environment. So my question would be, why the developers have not provided the API for MATLAB in Linux in the first place, and would it be doable in a short time to make it working by compiling from source on Matlab in Linux? (Currently they do it through remotely connecting a Matlab on a Windows machine to the Linux that runs Gazebo.)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-01-27 13:13:06 -0500

Seen: 558 times

Last updated: Jan 27 '17