I understand that you are trying to access and read data from S3 into your MATLAB environment. To achieve this, you can use "imread" function. Please take a look at below example:
img = imread("s3://MyCloudData/FoodImageDataset/french_fries/french_fries_90.jpg");
For more information on accessing and writing S3 data in MATLAB, please take a look at this documentation for future reference: https://www.mathworks.com/help/cloudcenter/ug/transfer-data-to-amazon-s3-buckets.html#:~:text=MyCloudData/TrafficDataset/%20%2D%2Drecursive-,Access%20Data%20from%20Amazon%20S3%20in%20MATLAB,-After%20you%20store
I hope this helps!
