The easiest way to install this package and all required dependencies is to clone the top-level repository using:
git clone --recursive https://github.com/mathworks-ref-arch/mathworks-aws-support.git
The MATLAB code uses the AWS SDK for Java and can be built using:
cd matlab-aws-sns/Software/Java
mvn clean package
More details can be found here: Build
Once built, change directory to the Software/MATLAB
folder and use the startup.m
function to initialize the interface which will use the AWS Credentials Provider Chain to authenticate.
Please see the relevant documentation
on options on how to specify the credentials.
The package is now ready for use. MATLAB can be configured to call startup.m
on start if preferred so that the package is always available automatically. For further details see: https://www.mathworks.com/help/matlab/ref/startup.html