How to access S3 browser buckets in matlab?
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
I am new to matlab and I wanted to access to open source S3 bucket IN the S3 browser not AWS website(I dont have any link). I have installed S3 browser and have access to all my datasets inside the browser. Now I want to read those data sets inside matlab. But I dont know how can I do that. I would appriciate it if you could help me with my problem.
So far I have done this but did not worked:
setenv('AWS_ACCESS_KEY_ID', '{ID}');
setenv('AWS_SECRET_ACCESS_KEY','{ID}');
setenv('AWS_REGION', 'us-east-1');
0 comentarios
Respuestas (1)
Abhinav Aravindan
el 11 de Dic. de 2024
Editada: Abhinav Aravindan
el 11 de Dic. de 2024
The “setenv” commands you have used are to specify your AWS access key ID, secret access key, and region of the bucket as system environment variables and are to be defined in your MATLAB Parallel Server command window as per the documentation. To access data from Amazon S3 in MATLAB, you can utilize the URL of your S3 bucket which may be generated using the S3 Browser. For instance, to read images from the S3 bucket, you can do so as follows where “s3://MyCloudData” is the URL of your bucket:
img = imread("s3://MyCloudData/FoodImageDataset/french_fries/french_fries_90.jpg");
imshow(img)
Please refer to the below link for detailed information on the steps to access data from Amazon S3 Buckets using MATLAB:
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!