%% Read Specific Field From Point Cloud Message
%
% Load sample ROS messages including a ROS point cloud message, ptcloud.

exampleHelperROSLoadMessages

%
% Read the 'x' field name available on the point cloud message.

x = readField(ptcloud,'x');

% Copyright 2019 The MathWorks, Inc.