Connection to an S3-Compatible storage?

2 次查看(过去 30 天)
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by