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.)