ROS/Gazebo/Matlab problem
I'm trying to create a model in gazebo that use the hokuyo model sensor to generate 3D pointclouds. I have a plugin in gazebo that set the rotational speed of the model (the target speed is set througth a ROS topic). I have also a plugin that publish the laser scan to a ROS node, and I am able to visualize it with rviz. The problem is with Matlab. I am able to conect to the ROS network, I can see all the topics using , I can publish messages to set the speed to a desired one, but im not able to recieve any message from ROS, matlab seems to wait for messages until I finish the fucntion(I use the receive() function). And this happends with every topic. I use Matlab 2018a, Gazebo 7 and ROS kinect. Does anybody knows If there is some incompatibility issues? The is another method for receiving ROS messages in Matlab?
May I suggest a title change? Your question is very much about "matlab not receiving any topic data" (or something similar).