- Configure your access credentials by setting the appropriate environment variables.
- Replace local filepath arguments in any compatible MATLAB functions with the URL to the remote data location. The URL string will begin with s3:// for an S3 bucket, or wasbs:// for an Azure Blob container. To determine if a specific MATLAB function supports remote file locations, refer to the Input Arguments section of the corresponding function reference page for the argument containing the filepath.
How do I access data on cloud storage services from MATLAB?
20 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Apr 2023
Answered: MathWorks Support Team
on 13 Apr 2023
I am trying to use MATLAB functions to work with files stored in Amazon S3 and Azure Blob storage. What functionality and functions are available for this workflow?
Accepted Answer
MathWorks Support Team
on 3 Apr 2023
You can read and write from remote cloud storage services (AWS S3, Azure WASB) using standard MATLAB functions and objects, such as file I/O functions and some datastore objects.
The workflow is as follows:
Refer to the following documentation for more information on setting up access credentials and specifying the location URL in MATLAB:
Additionally, ensure any operation you perform in MATLAB is permitted for the access credentials you are using. For example, if you plan to edit and delete files from an Azure Blob container, ensure the SAS token you configure in step 1 above has Read, Write, and Delete permissions.
0 Comments
More Answers (0)
See Also
Categories
Find more on Licensing on Cloud Platforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!