Why do I get "Error using datastore (line 114) Failure occurred while trying to resolve path 's3://myda​ta08/Input​.csv'" while trying to access file from Amazon AWS S3?

조회 수: 1 (최근 30일)
I am using MATLAB to access a file from Amazon AWS S3. I followed this link from MATLAB documentation and I have set all the environment variables correctly.
I am using following code to access the file:
data=load('s3://mydata08/Input.csv')
data=datastore('s3://mydata08/Input.csv')
Both of these give following error message:
ERROR: Error using datastore (line 114)Failure occurred while trying to resolve path
's3://mydata08/Input.csv'.
Please tell me why am I getting this error and how can I access the file?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 3월 4일
편집: MathWorks Support Team 2021년 3월 4일
One of the probable reason behind this issue is that the security settings of the file on Amazon AWS S3 server might be preventing MATLAB from accessing this file. Please try changing the security settings related to the file and provide read/write permission to all Amazon S3 authenticated users. After making these changes, you should be able to access the file from MATLAB.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 R Language에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by