www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/OpenTheCommandShellOnAROSDeviceExample.m

    %% Open Command Shell on ROS Device
% Connect to a ROS device and open the 
% command shell on your host computer.

%%
% Connect to a ROS device. Specify the device address, user name, and
% password of your ROS device.
d = rosdevice('192.168.154.131','user','password');

%%
% Open the command shell.
openShell(d); 

%%
% 
% <<../openshell.png>>
%