%% View Folder Contents on ROS Device
% Connect to a ROS device and list the contents of a folder.
% Connect to a ROS device. Specify the device address, user name, and password of your ROS device.

d = rosdevice('192.168.17.129','user','password');

%
% Get the folder list of a Catkin workspace on your ROS device. View the folder  as a table.

flist = dir(d,'/home/user/Documents/mw_catkin_ws/');
ftable = struct2table(flist)

% Copyright 2019 The MathWorks, Inc.