Main Content

parallel.cluster.generic.awsbatch.downloadJobFilesFromS3

Download job output files from Amazon S3

Description

parallel.cluster.generic.awsbatch.downloadJobFilesFromS3(job,s3Bucket,s3Prefix) downloads the output files for job job from the Amazon S3™ bucket s3Bucket and saves them to the JobStorageLocation of the cluster. This function expects output files stored in zip files under the prefix s3Prefix/stageOut in the Amazon S3 bucket s3Bucket.

Note

This function requires the Parallel Computing Toolbox™ plugin for MATLAB® Parallel Server™ with AWS® Batch. For an example of how to use the function, see the plugin scripts.

Input Arguments

collapse all

MATLAB job, specified as a parallel.job.CJSIndependentJob object.

Data Types: parallel.job.CJSIndependentJob

S3 bucket to download job files from, specified as a character vector or string scalar.

Data Types: char | string

Prefix of the S3 location in the S3 bucket s3Bucket that contains the output files for job, specified as a character vector or string array.

Data Types: char | string

Version History

Introduced in R2019b