subbpcds = partition(bpcds,n,index)
partitions the blocked point cloud datastore bpcds into the specified
number of parts n, and returns the partition corresponding to the
specified index index.
Create a blockedPointCloudDatastore from the blocked point cloud.
bpcds = blockedPointCloudDatastore(bpc);
Partition the blocked point cloud datastore into two partitions, and create a new blockedPointCloudDatastore object from the data in the first partition.
bpcdsp1 = partition(bpcds,2,1);
Read data and metadata from the first partition. Display the metadata.
while hasdata(bpcdsp1)
[data,info] = read(bpcdsp1);
disp(info)
end