Execute system command on device
a command using any of the previous syntaxes with the command shell
output returned in
response = system(___)
Run Linux Commands on ROS Device
Connect to a ROS device and run commands on the Linux(R) command shell.
Connect to a ROS device. Specify the device address, user name, and password of your ROS device.
d = rosdevice('192.168.17.128','user','password');
Run a command that lists the contents of the Catkin workspace folder.
ans = 'build devel src '
device — ROS or ROS 2 device
rosdevice object |
ROS or ROS 2 device, specified as a
ros2device object, respectively.
command — Linux command
Linux command, specified as a character vector.
response — Output from Linux shell
Output from Linux shell, returned as a character vector.
Introduced in R2019b