Connection to an S3-Compatible storage?

조회 수: 4 (최근 30일)
Guillaume Moutier
Guillaume Moutier 2018년 10월 4일
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