Connection to an S3-Compatible storage?
Show older comments
Hi!
We currently use different S3-Compatible storage on the campus: ECS and Ceph.
From the MATLAB doc you can connect to Amazon S3 (or other cloud providers):
setenv('AWS_ACCESS_KEY_ID', 'YOUR_AWS_ACCESS_KEY_ID');
setenv('AWS_SECRET_ACCESS_KEY', 'YOUR_AWS_SECRET_ACCESS_KEY');
ds = imageDatastore('s3://bucketname/image_datastore/jpegfiles', ...
'IncludeSubfolders', true, 'LabelSource', 'foldernames');
img = ds.readimage(1);
imshow(img)
Is there a way to use our S3 storage by specifying different endpoints, like it's done in the Boto library for example ( Boto Ref ) with the endpoint_url parameter?
Thanks!
Answers (0)
Categories
Find more on Risk Management Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!