Connection to an S3-Compatible storage?
조회 수: 4 (최근 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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Licensing on Cloud Platforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!