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-gcp-support.git
This is what your top level directory1 should look like:
The MATLAB code uses the matlab-gcp-common SDK for Java and can be built using:
cd mathworks-gcp-support/matlab-gcp-common/Software/Java
mvn clean package
More details can be found here: Build
Once built, use the mathworks-gcp-support/matlab-google-cloud-storage/Software/MATLAB/startup.m
function to initialize the interface.
cd('mathworks-gcp-support/matlab-google-cloud-storage/Software/MATLAB')
startup
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
1 Used with permission from Microsoft.